Skip to content
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

Allow JAVA_HOME and PATH to be configured from installer #15

Closed
EricEdens opened this issue Nov 17, 2018 · 2 comments
Closed

Allow JAVA_HOME and PATH to be configured from installer #15

EricEdens opened this issue Nov 17, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@EricEdens
Copy link
Contributor

@jim-pickering in #14:

It would also be nice if Corretto would set the JAVA_HOME environment variable with the installer too. Zulu does that.

@Lock128
Copy link

Lock128 commented Nov 29, 2018

I would like to add that we would need to have the possibility to pass the installation path

So in fact we would like to have this part here working:
// does not work, properties unknown, tried some others too
msiexec /i "jre-8u144-windows-x64.exe" TARGETDIR="C:\Program Files\Java\JDK8" /quiet /passive

Should this be a different ticket? I think if you allow to change the JAVA_HOME, you also need to allow TARGETDIR!

@yoroto
Copy link

yoroto commented Dec 18, 2018

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!

@Lock128 You need to use INSTALLDIR rather than TARGETDIR with the new installer for the silent install option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants