wood burning stoves 2.0*
The moose likes Tomcat and the fly likes JAVA_HOME Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JAVA_HOME" Watch "JAVA_HOME" New topic
Author

JAVA_HOME

Jim Patrick
Ranch Hand

Joined: Dec 27, 2005
Posts: 42

Hi

I have apache-tomcat-5.5.26 configured with JAVA_HOME env variable pointed to
"C:\Program Files\Java\jdk1.5.0_14"(pls note the jdk version).

Later i have installed weblogic 9.0 at C:\bea(which has, jdk150_03 and jrockit90_150_03 bundled). now do i have to modify the JAVA_HOME path to point to either of the jdk's inside c:\bea\ or is there no need to modify JAVA_HOME(path which was pointed to C:\Program Files\Java\jdk1.5.0_14) for weblogic 9.0?

as of now i didnt face any problems running my applications in weblogic(without changing the JAVA_HOME path, i.e, without pointing JAVA_HOME env var to point to any of the jdk's inside "C:\bea\").

thanks,
Jim.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I like to set the JAVA_HOME environment variable inside (catalina.sh or catalina.bat for Windows). This eliminates any classes with other programs that rely on it.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Jim Patrick
Ranch Hand

Joined: Dec 27, 2005
Posts: 42

Hi Ben!

how to set JAVA_HOME env var inside catalina.sh/catalina.bat for windows?

thanks,
Jim.

Originally posted by Ben Souther:
I like to set the JAVA_HOME environment variable inside (catalina.sh or catalina.bat for Windows). This eliminates any classes with other programs that rely on it.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAVA_HOME
 
Similar Threads
weblogic.Admin command not running
Command "java" works, but "javac" does not
Error while trying to run Tomcat for servlets
java.lang.UnsupportedClassVersionError
configuring weblogic 9.0