Jump to content

This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Checking if Java VM is Installed

1 reply to this topic


  • Members
  • 16 posts

Posted 14 May 2002 - 18:17

I need to make sure that anyone running a windows XP platform has Java VM installed on their machine. How can I set up my install to check if the Java VM is installed? If it isn't it would launch the Sun patch to install, if it is it would continue with the install.

Dave I

Dave I
  • Members
  • 195 posts

Posted 20 May 2002 - 16:20

Not quite the same but I detect the presence the Java Runtime Engine by using the registry entry under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft....

Presumably the JVM adds a similar registry key.  I detect the ergistry key using the RegLocator table and set a property accordingly with AppSearch Table, e.g. JVMPRESENT

You could then have a CA in the UI sequence which would launch the installations off your CD image.

If you add the condition Not JVMPRESENT And Not Installed to your CA it will only be installed if JVM is absent.

Let me know if I can be of any assistance,