Determine if correct java is installed.

J

Johnniec

We host software on our web site that has the following java
requirements:

Windows 95, 98, NT, 2000, XP
* Java Runtime Environment (JRE) 1.4.2 or later
Macintosh OS X 10.2 or later
* Java version 1.4+
Macintosh Classic 8.1 or later
* Macintosh Runtime for Java (MRJ) 2.2.5

Is there any way to make it simple for our clients to determine whether
they have these requirement met?

I would prefer to have something like this:
To determine if you have the correct Java
------------------------------------------
For Windows, click here.
For Mac OSX, click here.
For Mac Classic 8.1 or later, click here.

Any way this can be accomplished?

Thanks!
 
T

Tom Dyess

Johnniec said:
We host software on our web site that has the following java
requirements:

Windows 95, 98, NT, 2000, XP
* Java Runtime Environment (JRE) 1.4.2 or later
Macintosh OS X 10.2 or later
* Java version 1.4+
Macintosh Classic 8.1 or later
* Macintosh Runtime for Java (MRJ) 2.2.5

Is there any way to make it simple for our clients to determine whether
they have these requirement met?

I would prefer to have something like this:
To determine if you have the correct Java
------------------------------------------
For Windows, click here.
For Mac OSX, click here.
For Mac Classic 8.1 or later, click here.

Any way this can be accomplished?

Thanks!
$/java.exe -version

will tell you if it is installed properly (in the path) for the current
user.
 
A

Alun Harford

Johnniec said:
We host software on our web site that has the following java
requirements:

Windows 95, 98, NT, 2000, XP
* Java Runtime Environment (JRE) 1.4.2 or later
Macintosh OS X 10.2 or later
* Java version 1.4+
Macintosh Classic 8.1 or later
* Macintosh Runtime for Java (MRJ) 2.2.5

Is there any way to make it simple for our clients to determine whether
they have these requirement met?

I would prefer to have something like this:
To determine if you have the correct Java
------------------------------------------
For Windows, click here.
For Mac OSX, click here.
For Mac Classic 8.1 or later, click here.

Any way this can be accomplished?

Look at the API for java.lang.System.getProperties()

Alun Harford
 
T

Thomas G. Marshall

Tom Dyess coughed up:
Johnniec said:
We host software on our web site that has the following java
requirements:
....[rip]...
I would prefer to have something like this:
To determine if you have the correct Java
------------------------------------------
For Windows, click here.
For Mac OSX, click here.
For Mac Classic 8.1 or later, click here.

Any way this can be accomplished?

Thanks!
$/java.exe -version

will tell you if it is installed properly (in the path) for the
current user.


This is a system-side command line. He made it pretty clear that he wants
to do this programmatically, and potentially from a website.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top