It's not a secret anymore!
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 Make it so: Java DB Connections & Transactions this week in the JDBC 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: 170
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
I agree. Here's the link:
subject: Web Browser's JVM version
It's not a secret anymore!