Thanks for pointing that out. I was trying to retrieve java.home used by tomcat using a java program. I could go with sys.getProperty("java.home"), but the value returned doesn't always have to match with java.home local to tomcat. So it seems peeking into the registry is the only way forward for me. But not the best way since I want the program to be OS independent. So, if there are other suggestions kindly help me with them.
Mark Thomas-18 wrote: > > jaki wrote: >> Hi, >> I wanted to know where java_home is set for Tomcat when it's installed as >> a >> service since I can't find any .bat/.sh files in my tomcat folder. Thanks > > http://tomcat.apache.org/tomcat-6.0-doc/setup.html > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/JVM-config-for-tomcat5.5-tp19583097p19584898.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]