File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Web Browser's JVM version Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Web Browser Watch "Web Browser New topic

Web Browser's JVM version

Nelson Nadal
Ranch Hand

Joined: Jun 06, 2002
Posts: 169
Is there a way to find out what version of JVM my web browser is using? Thanks.
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
Call System.getProperties(), then call getProperty(String) with one of these keys:
java.vm.specification.version -Java Virtual Machine specification version
java.vm.specification.vendor - Java Virtual Machine specification vendor - Java Virtual Machine specification name
java.vm.version -Java Virtual Machine implementation version
java.vm.vendor - Java Virtual Machine implementation vendor - Java Virtual Machine implementation name
See the JavaDocs for System.getProperties() for more information.

SCJP 1.4
jQuery in Action, 2nd edition
subject: Web Browser's JVM version