• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAVA_HOME

 
Ranch Hand
Posts: 42
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic