Skip to main content

java version on Windows

1 reply [Last post]
Joined: 2006-02-14


For our java program we have the option of a zip file and a windows msi file (it's a library, not a desktop app).

In the windows msi file, we want to determine what version of java is installed, if any, to warn them if it's not 1.3 or later.

HKLM\SOFTWARE\JavaSoft\Java Runtime Environment seems to be the key to use for Sun's java. But will this be set by other JRE's, like IBMs? And if not, what key should we use?

thanks - dave

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-05-05

hklm/software/Java Runtime Environment/ contains keys for Sun's JRE only.