This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes how to set JAVA_HOME in Tomcat4.0.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to set JAVA_HOME in Tomcat4.0.4" Watch "how to set JAVA_HOME in Tomcat4.0.4" New topic
Author

how to set JAVA_HOME in Tomcat4.0.4

Meena R
Greenhorn

Joined: Jun 24, 2002
Posts: 3
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
james edwin
Ranch Hand

Joined: Nov 22, 2001
Posts: 393
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


Regards,
James
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set JAVA_HOME in Tomcat4.0.4
 
Similar Threads
Tomcat and JAVA_HOME
tomcat download
startup.bat stops itself
how to set JAVA_HOME in Tomcat4.0.4
Cocoon 2