Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install JDK 8 on Mac OS X Snow Leopard?

According to the system requirements, even Java 7 requires Lion, but then I found this question: How to install java jdk 7 on Snow Leopard. Especially the answer stating that java 7 doesn't, in fact, require 10.7 and that this restriction can just be removed from the .pkg gives hope that it is possible to install even Java 8 on Snow Leopard. Any information on this?

like image 605
11684 Avatar asked Jul 28 '14 12:07

11684


People also ask

Where is JDK 8 installed Mac?

In macOS, the JDK installation path is /Library/Java/JavaVirtualMachines/jdk-10. jdk/Contents/Home . The root directory of the JDK software installation.


1 Answers

The OS level requirements are "real" and shouldn't normally be circumvented. As to how real it is I cannot answer. Ultimately as system libraries are updated, and newer versions of JDK are compiled against them older systems won't be able to use parts of Java that use the newer functions in those libraries or even the libraries as a whole if the pointers/links have changed.

If you want to be absolutely sure Java will work on your system, you will need to compile it from source. But that is a massive pain on a Mac unfortunately. If you want to try anyway, check out the Mac Port Project over on OpenJDK.

like image 174
Foosh Avatar answered Nov 01 '22 12:11

Foosh