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_release_type property not working, EA releases not found #205

Closed
juliojgd opened this issue Jul 1, 2023 · 4 comments
Closed

java_release_type property not working, EA releases not found #205

juliojgd opened this issue Jul 1, 2023 · 4 comments

Comments

@juliojgd
Copy link

juliojgd commented Jul 1, 2023

When I set in my ~/.asdfrc file the following value:
java_release_type = ea

or even
java_release_type = all

No Early Access release (one of the present at https://github.com/halcyon/asdf-java/blob/master/data/jdk-linux-x86_64-ea.tsv file) is found when I type: asdf list all java

Also if I try to install an ea release, it's not found either:

$ asdf install java openjdk-21-ea+29
Unknown release: openjdk-21-ea+29

asdf info output:

OS:
Linux xyza1 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

SHELL:
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

BASH VERSION:
5.0.17(1)-release

ASDF VERSION:
v0.12.0-816195d

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/john/.asdf
ASDF_DIR=/home/john/.asdf
ASDF_CONFIG_FILE=/home/john/.asdfrc

ASDF INSTALLED PLUGINS:
java                         https://github.com/halcyon/asdf-java.git master c092ed7
@guerra08
Copy link

guerra08 commented Jul 2, 2023

Same thing happening here.

asdf info output:

OS:
Linux fedora 6.3.8-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023 x86_64 GNU/Linux

SHELL:
fish, versão 3.6.1

BASH VERSION:
5.2.15(1)-release

ASDF VERSION:
v0.12.0-816195d

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/guerra/.asdf
ASDF_DIR=/home/guerra/.asdf
ASDF_CONFIG_FILE=/home/guerra/.asdfrc

ASDF INSTALLED PLUGINS:
deno                         https://github.com/asdf-community/asdf-deno.git master 87442fe
dotnet-core                  https://github.com/emersonsoares/asdf-dotnet-core.git master 4583e4b
gradle                       https://github.com/rfrancis/asdf-gradle.git master 9a2ca80
java                         https://github.com/halcyon/asdf-java.git master f906333
maven                        https://github.com/halcyon/asdf-maven.git master 625d6e5
nodejs                       https://github.com/asdf-vm/asdf-nodejs.git master 4f8aa3d

@jonatan-ivanov
Copy link
Contributor

You need to prune the cache after you changed the property, please check this PR: #206

@juliojgd
Copy link
Author

juliojgd commented Jul 4, 2023

You need to prune the cache after you changed the property, please check this PR: #206

Thanks, it worked after removing cache located here

It would be nice to have a command like "refresh-cache" or "refresh-it" everytime a configuration change is detected.

@jonatan-ivanov
Copy link
Contributor

I would recommend opening a new issue for that (or submitting a PR) and closing this one.

@juliojgd juliojgd closed this as completed Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants