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

Java install instructions are not correct #288

Open
holly-cummins opened this issue Sep 4, 2023 · 1 comment · May be fixed by #346
Open

Java install instructions are not correct #288

holly-cummins opened this issue Sep 4, 2023 · 1 comment · May be fixed by #346
Assignees

Comments

@holly-cummins
Copy link
Collaborator

holly-cummins commented Sep 4, 2023

@maxandersen points out these instructions do not work:

sdk install java 17-tem
holly@hcummins-mac ~ % sdk install java 17-tem
We periodically need to update the local cache. Please run:

  $ sdk update


Stop! java 17-tem is not available. Possible causes:
 * 17-tem is an invalid version
 * java binaries are incompatible with your platform
 * java has not been released yet

Tip: see all available versions for your platform:

  $ sdk list java

We need to specify a version, as we do for GraalVM. The instructions above this line actually say this, but the actual copy-pastable command does not have a version. We should perhaps automate the inlining of the latest version, either with an hard-coded sdk rc file or hard-coded properties, or one we automatically generate from the latest.

@maxandersen
Copy link

we could add sdkman specific properties to have the info right.
possibly generate .sdkmanrc

@maxandersen maxandersen linked a pull request Sep 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants