Skip to content

Handle if asdf which java errors - #272

Merged
halcyon merged 1 commit into
halcyon:masterfrom
convergedtarkus:handleWhichJavaError
Jun 30, 2026
Merged

Handle if asdf which java errors#272
halcyon merged 1 commit into
halcyon:masterfrom
convergedtarkus:handleWhichJavaError

Conversation

@convergedtarkus

Copy link
Copy Markdown
Collaborator

If the java plugin is installed but no java version has been installed yet, the asdf which java command will error.

This changes the bash and zsh code to handle this error and treat it as if java is not installed.

I'm only familiar with bash and zsh, so I am not sure if this issue also affects other shell types.

This can happen if the java plugin is install but no version has been
installed yet.
@convergedtarkus

Copy link
Copy Markdown
Collaborator Author

@halcyon Would you mind taking a look?
I also saw that you might be looking for maintainers for this. I'm not an expert on Java but I'd be happy to be added as a maintainer.

@halcyon

halcyon commented Jun 30, 2026

Copy link
Copy Markdown
Owner

Hey - sorry, looking now!

@halcyon halcyon reopened this Jun 30, 2026
@halcyon
halcyon merged commit 9e7eacc into halcyon:master Jun 30, 2026
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

Successfully merging this pull request may close these issues.

2 participants