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

jenv silently ignores different architecture binaries #396

Open
delabassee opened this issue Apr 28, 2023 · 0 comments
Open

jenv silently ignores different architecture binaries #396

delabassee opened this issue Apr 28, 2023 · 0 comments

Comments

@delabassee
Copy link

I accidentally tried to install binaries of a different architecture (arch64 instead of x64).
jenv finds the right file under /bin but obviously those are wrong. It goes ahead and stays silent, i.e., no error message.

java -version can't obviously be launched but an error is thrown.

bad CPU type in executable: /Library/Java/JavaVirtualMachines/jdk-21-b20.jdk/Contents/Home/bin/java

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

1 participant