Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAVA_HOME

 
Jim Patrick
Ranch Hand
Posts: 42
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jim Patrick
Ranch Hand
Posts: 42
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic