aspose file tools*
The moose likes Beginning Java and the fly likes How to get jre version of client thru java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to get jre version of client thru java" Watch "How to get jre version of client thru java" New topic
Author

How to get jre version of client thru java

Ben Buchli
Ranch Hand

Joined: Mar 26, 2004
Posts: 83
how can I get the version of jre installed on client computer thru java code?
thanks,
ben
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
Check out getProperties() and getProperty() in the System API.
--Tim
Ben Buchli
Ranch Hand

Joined: Mar 26, 2004
Posts: 83
something like
System.getProperty( "java.specification.version" )
right? that's the vm of the user machine, correct?
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
The "java.version" property might do it for you, as well.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Ben Buchli
Ranch Hand

Joined: Mar 26, 2004
Posts: 83
thanks guys!
appreciate your help!
Ben
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to get jre version of client thru java
 
Similar Threads
Registry Value
client & sever direcory under jre
Registry Value
UnsupportedClassVersionError while startup.
How to set jre version?