Java HotSpot(TM) 64-Bit Server VM (build 25. If your Mac running OS X Yosemite needs Java for application compatibility, online banking, or any of the myriad of other reasons, you can manually install one of two versions of Java that are compatible with OS X 10.10, either the latest version of JRE 8, or an older version from Apple which remains compatible with the newest version of OS X. Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Now if you try java -version again, you should see the version you want. # Java 8Įxport JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home When I cd into /System/Library/Java/JavaVirtualMachines/, I wanted to delete all folders/files that started with 1.8.x.jdk. Heres a couple commands that Ive ran that got me confused. I tried using another post answer that was similar to this but had no luck. ![]() Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)ġ0.0.1, x86_64: "Java SE 10.0.1" /Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Homeġ.8.0_171, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home I need to downgrade from Java 8 to Java 6 so I can get an application to work. Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10) In this example, I am going to switch Java 10 to Java 8. ![]() ![]() If you have multiple Java versions installed on your Mac, here's a quick way to switch the default version using Terminal.
0 Comments
Leave a Reply. |