This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I tried to run Tomcat by going to the bin directory and typing in startup.bat. When I did that, it gave me the below info:
The JAVA_HOME environment variable is not defined correctly.This environment variable is needed to run this program. NB: JAVA_HOME should point to a JDK and not a JRE
However, I read through the RUNNING.txt file in the tomcat directory and set two SYSTEM environmental variables. JAVA_HOME: C:\Program Files\Java\jdk1.5.0_14; JRE_HOME: C:\Program Files\Java\jre1.5.0_14;
My Class Path contains : C:\Program Files\Java\jdk1.5.0_14\bin; and does not have a JRE in it.
I've set my classpath by right clicking on my computer--> Environment variables.