Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Detect VM on Win XP where no VM is installed

843811Oct 8 2002 — edited Nov 17 2002
Hi all,

can anbody tell how i can detect if a Java VM is installed or not installed on Windows XP.

NOTE: Following described here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndetect/html/detectvm.asp)
does not work on Windows XP where no JVM is installed, because the CLSID "08B0E5C0-4FCB-11CF-AAA5-00401C608500" for the Microsoft VM is available in the Registry although it is not installed on Win XP!

Also OBJECT/APPLET Tag can't be used on Win XP where no VM is available, because you get the "Installation when required" message box in the IE!

I know also that the the SP1 includes the Microsoft VM, but I don't will use this! Also its easier for our customers to download the JRE (9 MB) instead of the SP1 (130 MB) ;-).

Does anybody knows how I can detect this using VBScript inside a HTML Page ?

We need this to automatically install the Sun Java Plug-in on the customer PC if no VM is available!

This is very important for us!!!


Thanx
Michael
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2002
Added on Oct 8 2002
1 comment
117 views