I installed jvm 8 (8u45) on Mac 10.10, but running ./java_home -v 1.8 still get Unable to find any JVMs matching version "1.8".
java_home finds JVM 1.6 under path /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home, but there's nothing but 1.6. Where can I find jvm 8 on mac?
Thank you a lot.
It sounds like you've solved the issue by installing the JDK, but what probably happened initially was that you installed the JRE. You might find that installation at /Library/Internet\\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
, which you could check with
/Library/Internet\\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.