/usr/libexec/java_home does not work with Java installed via coursier
See original GitHub issueSteps
~ eval "$(cs java --jvm 11 --env)"
~ java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.6+10)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.6+10, mixed mode)
~ /usr/libexec/java_home
Unable to find any JVMs matching version "(null)".
No Java runtime present, try --request to install.
~
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
/usr/libexec/java_home is complete… | Apple Developer Forums
The problem of /usr/libexec/javahome not working correctly if JAVAHOME is set is one problem, and you can hack that in your shell profile...
Read more >java - Coursier
The java and java-home commands fetch and install JVMs. The java command runs them too. If a JVM is already installed on your...
Read more >Why command /usr/libexec/java_home doesn't work?
I used the /usr/libexec/java_home command to change java version. Some programs run need to special version. so I installed multi versions of ...
Read more >scalameta/metals - Gitter
When I open a workspace that's under $HOME, using the /home path; actions will fail with a ...because it doesn't belong to a...
Read more >Android Studio Setup Guide for Mac - Amazon S3
open Terminal and type javac -version. If you have. Java 6.0 or greater, continue to the next slide: Set Your. JAVA_HOME. If JDK...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see. Will raise an issue in
jep
repo then. They should be directly using the value of $JAVA_HOME rather than replying on/usr/libexec/java_home
One more thing, the external program is
jep
. Andpip install jep
throws: