Try it...
For Java ,
In user variables add PATH value C:\Program Files\Java\jdk1.8.0_25\bin;
For tomcat
In the system variables add JAVA_HOME value C:\Program Files\Java\jdk1.8.0_25
Now the class path has been installed on your computer. You can access java from anywhere on your computer.
After doing this, go to Command Prompt and go to ApacheTomcat * xx and go to the bin folder,
Start server
startup.bat
To check the status of Tomcat’s work, go to your browser and Paste the URL,
http: // localhost: 8080 /
Stop server
shutdown.bat
Vignesh Shiv Jan 17 '15 at 5:57 2015-01-17 05:57
source share