[英]Java JDK not showing up in the JavaVirtualMachines folder
I just downloaded "Java SE Development Kit 8u333" from https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html .我刚刚从https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html下载了“Java SE Development Kit 8u333”。
Upon going through the installation, there is no jdk folder in JavaVirtualMachines, I have no idea why this is happening, thanks in advance for any help Im on a mac完成安装后,JavaVirtualMachines 中没有 jdk 文件夹,我不知道为什么会这样,提前感谢我在 mac 上的任何帮助
It is better you start a fresh:最好重新开始:
sudo rm -rf /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin /Library/Java/JavaVirtualMachines /Library/Application\ Support/Oracle/Java/ /Library/PreferencePanes/JavaControlPanel.prefPane
Then download the java image from here And then check the jdk
directory with /usr/libexec/java_home -V | grep jdk
然后从这里下载java镜像然后用
/usr/libexec/java_home -V | grep jdk
查看jdk
目录/usr/libexec/java_home -V | grep jdk
after a restart /usr/libexec/java_home -V | grep jdk
重启后
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.