Thanks, this is just what I was looking for.
Mark H. Wood wrote:
Well, that was silly. The Tomcat HTML Manager already provides the JRE
version at the bottom of the page, if you wanted to manually check
it. To check by script, you could use the plain Manager:
[EMAIL PROTECTED] ~ $
I copied this from the wildcat source at http://coolese.100free.com/
sInfo += OS Name: + System.getProperty(os.name) + \n;
sInfo += OS Version: + System.getProperty(os.version) +
\n;
sInfo += Architecture: + System.getProperty(os.arch) +
\n;
If you fetch 'java.runtime.version' in freestanding code then you'll
get the version of the current default JRE, which might not be what
Tomcat is using. But if you fetch it in a servlet, then you should
get the version of the JRE that's running Tomcat, no?
?xml version=1.0 encoding=US-ASCII ?
Well, that was silly. The Tomcat HTML Manager already provides the JRE
version at the bottom of the page, if you wanted to manually check
it. To check by script, you could use the plain Manager:
[EMAIL PROTECTED] ~ $ wget --quiet -O - --user USER --password PASSWORD
From: bachuba [mailto:[EMAIL PROTECTED]
Subject: Programmatically Determine JVM Version used by Tomcat
I'm fairly new to using Tomcat, but need to determine what
JVM version (or at least the path to it)
It's available in a system property:
System.getProperty(java.runtime.version)
-
bachuba wrote:
Hi,
I'm fairly new to using Tomcat, but need to determine what JVM version (or
at least the path to it) a running Tomcat service is currently using on a
Windows system. If I run tomcat5w.exe and click on the Java tab, I notice
the informaiton is listed there, but I would like to
I believe the suggested solutions will only poll the java version installed
on the computer, correct? I probably should have provided a little more
detail on what is needed.
Tomcat is being installed with JAVA_HOME pointed toward a 1.4 version of
java. Later, JAVA 1.5 is installed and
can't you open up the bat or .sh file and just make the change there?
-Original Message-
From: bachuba [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 3:48 PM
To: users@tomcat.apache.org
Subject: Re: Programmatically Determine JVM Version used by Tomcat
I believe the suggested
: Programmatically Determine JVM Version used by Tomcat
I believe the suggested solutions will only poll the java version installed
on the computer, correct? I probably should have provided a little more
detail on what is needed.
Tomcat is being installed with JAVA_HOME pointed toward a 1.4 version of
java
.
-Original Message-
From: bachuba [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 2:48 PM
To: users@tomcat.apache.org
Subject: Re: Programmatically Determine JVM Version used by Tomcat
I believe the suggested solutions will only poll the java version installed
on the computer, correct? I
-
From: David kerber [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 10:31 AM
To: Tomcat Users List
Subject: Re: Programmatically Determine JVM Version used by Tomcat
bachuba wrote:
Hi,
I'm fairly new to using Tomcat, but need to determine what
JVM version
(or at least the path
11 matches
Mail list logo