UPDATE: After removing Java 1.6 from my machine, the next time I ran PhpStorm, it told me it needed to download and install the Java SE 6 runtime. Since that's where my new JDK is installed. It doesn't seem useful to leave CurrentJDK pointing to a non-existent directory, so I ran this command in the /System/Library/Frameworks/amework/Versions folder: sudo ln -sf /Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents CurrentJDK Lrwxr-xr-x 59 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents It's worth noting that /System/Library/Frameworks/amework contains a Versions folder, and at least in my case, that Versions folder contained: lrwxr-xr-x 10 1.4 -> CurrentJDK No modern version of OS X has a Java JDK inside there anyway. Those items are required by Java 7, 8, 9+ as well as Java SE 6. % sudo rm -rf /Library/Java/JavaVirtualMachines/1.6.0*.jdkĭo NOT remove any content in the amework (Note.: It under /System/Library/Frameworks/amework ) % sudo rm -rf /System/Library/Java/JavaVirtualMachines/1.6.0.jdk Remove the "system" JVM installed and maintained by Software Update However if you wish to rid your machine of Java SE 6, The security issues are invariably sandbox violation tricks, and the standalone apps aren’t running Java sandboxed anyway. The security issues aren’t going to impact these apps. Java 6 is on your machine for legacy software that relies on it in standalone applications. But you can’t use Java 6 on the web anyway. Security updates are important because of web sites that use Java maliciously. I don’t know the answer to your question, but I can suggest that you might be causing yourself unneeded problems. From The macosx-port-dev Archives and How to properly uninstall Java 6 on OSX?:
0 Comments
Leave a Reply. |