Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Java path in Windows registry #7

kolAflash opened this Issue · 8 comments

5 participants


Can you make the windows installer add this registry stuff with the correct OpenJDK installation-path?

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.7]


It's needed by some (maybe all) Window Software to find Java. Until now, I've successfully tested it with "" and this software:



Windows environment settings is a tricky part because of administrator privileges. Now installer can be used by ordinary user and mandatory registry access will break it. Maybe it will be better allow user to choose whether installer should create registry keys - add another installation option "create registry keys". I'll look at it on next openjdk release preparation.



I wanted to add OpenJDK in , with LibreOffice, FAR and many more softwares that require JAVA. But it is too hard for a normal user to add a registry key or to set a variable. So, I will wait a new version of OpenJDK with PATH and JAVA_HOME or/and the registry key set by the installer.


I'll look at it. Now I'm awaiting for new source releases: openjdk7 update should be released in a month and openjdk6 update may also be released soon.


@kolAflash , @Petrouchka
New installers in 7u40_2.4.1 support environment variables and windows registry. I've tested these features on win7 x64, but they may not work across all windows versions. Please reopen this issue (or file a new one) in case of errors.

@alexkasko alexkasko closed this

Any ETA on when this will be fixed? Because i have issues with the installer too


Yes i tried adding manuel reg keys not working for me, can't say i'm pro at adding regkeys though. i assumed a string would be sufficient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.