How to Run Java Projects
Here is the detailed Process for Running Java and HTML Projects which includes JSP Pages . As normal Java programs can run directly through command line , But JSP pages need Server to execute those requests .
So , the process is very Simple if you follow these simple steps . First of all you have to Download Apache Tomcat for their Website . You can Download it from here …..
Now you have exe file to install here is the steps for installing Apache Tomcat …
Step:1 |
Step:2 |
Step:3 |
Step:4 |
Step:5 |
Step:6 |
Step:7 |
Step:8 |
Now your Apache Tomcat is installed on the machine you can start Server by just clicking on Start button in step:8 . You next step would be to run your project through this Server …
Here is the steps for putting files on server to run them …
- Go to Program files–>Apache Software Foundation–>Apache–>root or www .
- Put all files in this folder of you website or project .
- Now you can directly run all these files through browser .
- Just go to your browser and Type : Localhost:8080/Home.html
Mani says
Need help to run this.can u give me the link to download java and oracle. And in step 4 do I have to change the port no from 8080 to 8003.
ProjectsGeek says
You can visit oracle website to download java JDK 1.8. For oracle google it and download.
tharun says
while installing tomcat. it asking jvm path selection. what to do?
ProjectsGeek says
You need to provide jdk or jre path which is nothing but c:/program files/java something like this.
Ranga Rajan says
I did exactly as you described but get message following errors
Status report
message /Home.html
description The requested resource (/Home.html) is not available. the project does not have any home.html can u help
ProjectsGeek says
Try to add this file manually and then check.
Keith says
hi i don;t see a www or root folder inside C:\Program Files (x86)\Apache Software Foundation\Tomcat 5.5
i see
bin
common
conf
logs
server
shared
src
temp
webapps
work
those are all the folders i got….plz help..!!
ProjectsGeek says
Webapps –> ROOT folder
There you need to deploy your code. Let us know if you face any other problem.