This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Hi, I have windows2000 operating systen and downloaded j2sdk1.4.1 and also installed tomcat4.0.4. In the instructions it says edit install_dir/bin/catalina.bat and change the following: if not "%JAVA_HOME%" == "" goto gotJavaHome echo You must set JAVA_HOME to point at ... goto cleanup :gotJavaHome to: if not "%JAVA_HOME%" == "" goto gotJavaHome set JAVA_HOME=C:\JDK1.3_01 :gotJavaHome
but unanble to find the above given line if not "%JAVA_HOME%" == "" goto gotJavaHome echo You must set JAVA_HOME to point at ... goto cleanup :gotJavaHome in catalina.bat. Any suggestions as to how i can set JAVA_HOME
posted 14 years ago
hi, u set JAVA_HOME in system level. Like start ->setting->control-panel,there select system and then advanced tab and then environment variables button.This will open a pop up window,there u can create new variable JAVA_HOME and set the value to the installed jdk directory. Incase u get any error..pls do write back. All the best