| Author |
How can we know what version of JRE is used by Tomcat ?
|
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
Hi ,
I have set JAVA_HOME to jdk 1.5 under my Environment Variables .
How can i know that , what version of JRE is my TOMCAT is using ??
Please sugegst , thanks .
|
Save India From Corruption - Anna Hazare.
|
 |
Marco Ehrentreich
best scout
Bartender
Joined: Mar 07, 2007
Posts: 1221
|
|
Hi Ravi,
if you start Tomcat from the command line (with startup.sh or startup. bat inside the bin/ directory) it should print some information to the console. There you should see which JRE_HOME Tomcat currently uses.
Additionally it should show up in logs/catalina.out (after a Tomcat start) or you can see it in the command line string (at least on UNIX/Linux).
Another alternative would be a management application like Lambda probe which shows you lots of details about your Tomcat instance and web applications.
Marco
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14572
|
|
You should be able to dial in via jconsole as well.
If a webapp needs to know the Java version, it can query the System property.
However, up through and including Tomcat6 you won't be strictly speaking running under a JRE. You have to have a JDK.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Ravi Kiran Va
Ranch Hand
Joined: Apr 18, 2009
Posts: 2234
|
|
Thank you very much , I found a new tool Lambda probe
|
 |
leo donahue
Ranch Hand
Joined: Apr 17, 2003
Posts: 327
|
|
Or you could simply execute the version.bat file from the bin folder using a command prompt.
|
Thanks, leo
|
 |
 |
|
|
subject: How can we know what version of JRE is used by Tomcat ?
|
|
|