![](/uploads/1/2/6/5/126552862/479173558.jpg)
![Mac Mac](http://www.stormacq.com/wp-content/uploads/2010/11/nb-openjdk7.png)
Installing OpenJDK 7 on OS X. I started off by downloading 'OpenJDK 1.7 universal (32/64 bits) from Mac OS/X branch' from the openjdk-osx-build project's downloads. Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK). Corretto comes with no-cost long-term support. Amazon runs Corretto internally on thousands of production services and Corretto is certified as compatible with the Java SE standard.
.There are several ways to install Java.This is a deep dive into the various editions to equip you to debug JVM installation issues.Which Java You Got?.Open a Terminal session.Shell scripts check if Java is available by: command -v javaAlternately, the older form is: which javaEither way, the response: /usr/bin/javaPROTIP: File “java” in the above path is a binary file.To see what Java VM you have already installed: /usr/bin/java -versionPROTIP: -version is a non-standard parameter.
![](/uploads/1/2/6/5/126552862/479173558.jpg)