-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance Installer to add standard registry keys on Windows for compat #14
Comments
In testing, I have found that Azul doesn't add all the keys above, but it does add a subset of them in its MSI installer which is enough to make launchers like Launch4J work out of the box.
|
It would also be nice if Corretto would set the JAVA_HOME environment variable with the installer too. Zulu does that. |
@bdw429s : Thanks for the report. It'd be helpful if you could add some documentation for the tools you were referencing (such as Launch4J) so that we can get the values setup correctly. In parallel, we're preparing to release the build and packaging code, which could be a good opportunity for a PR. @jim-pickering : Nice idea! I've created a new issue (#15) to track that separately, since it's applicable to other installers as well as the |
Hi @EricEdens , sandly Launch4j has pretty empty docs when it comes to exactly where in the registry it looks. The keys above were figured out by people in the community by just comparing their registry before and after installing Java. I know minimally, Launch4j looks at the smaller set of registry keys in my second post, which is what Azul adds. The first set of keys were everything added in an Oracle installation of Java. Here's the Launch4j docs
|
Fixed in Preview 2. |
This issue is fixed in the new Corretto preview release (1.8.0_192-amazon-corretto-preview2-b12). Change log of this release is now available. You can find the builds in the Corretto download page. Please let us know if you have any further questions. We appreciate your suggestion! |
Thanks so much guys! Great turn around. |
preview2 fixes this problem only half. For example microsoft build agents didn't pickup the existance of corretto: |
When installing Oracle Java, there are specific registry keys created which are required for binaries like those created with Launch4J to "find" java. Can Corretto create the same registry keys so it's a drop in replacement on Windows?
Here is an example of the registry keys needed to make Corretto get picked up automatically by Launch4j and other libraries.
The text was updated successfully, but these errors were encountered: