File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
Applets
Author
Checking the Browser JVM
sabbir kazi
Ranch Hand
Joined: Feb 03, 2001
Posts: 62
posted
Jun 26, 2003 22:23:00
0
How to check the JVM installed in the Browser from
Applet
?
Any help will be highly appreaciated.
Thanks.
Rob Ross
Bartender
Joined: Jan 07, 2002
Posts: 2205
posted
Jun 27, 2003 02:29:00
0
look at java.lang.System.getProperties(). The JavaDocs describe them in detail, but it looks like you might want to check these values:
java.version Java Runtime Environment version java.vendor Java Runtime Environment vendor java.vm.specification.version Java Virtual Machine specification version java.vm.specification.vendor Java Virtual Machine specification vendor java.vm.specification.name Java Virtual Machine specification name java.vm.version Java Virtual Machine implementation version java.vm.vendor Java Virtual Machine implementation vendor java.vm.name Java Virtual Machine implementation name java.specification.version Java Runtime Environment specification version java.specification.vendor Java Runtime Environment specification vendor java.specification.name Java Runtime Environment specification name os.name Operating system name os.arch Operating system architecture os.version Operating system version
Rob
SCJP 1.4
I agree. Here's the link:
jrebel
subject: Checking the Browser JVM
Similar Threads
HttpServletResponse Output
My browser doesn't display my applets.
Incompatible magic value
JVM detection with Javascript?
Problems loading Round up applet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter