Join the DZone community and get the full member experience.
Download Java for OS X 2017-001 Java for macOS 2017-001 installs the legacy Java 6 runtime for macOS 10.13 High Sierra, macOS 10.12 Sierra, macOS 10.11 El Capitan, macOS 10.10 Yosemite, macOS 10.9 Mavericks, macOS 10.8 Mountain Lion, and macOS 10.7 Lion. Jdk 1 7 free download - OpenJDK 7 for OS X Lion, Apple Mac OS Update 7.6.1, Apple QuickTime 7.1.6 Security Update, and many more programs. What is the link to install JDK7 (Java 7) on Mac OS X 10.7.3? What version does it install? Where does it install on my box? How do I use it?
Join For Free To get JDK 7 up,
Download Jdk 7 Mac Os X High Sierra
- I downloaded the JDK from Oracle. They have a nice dmg file, which makes it easy to install.
- After reading their installation instructions and running /usr/libexec/java_home (which I didn't even know about), it still wasn't defaulting to JDK 7.
Surgery required. So, I headed over to:
This is where the system jvm's are stored. You'll notice a symbolic link for CurrentJDK. It probably points to:
Macos - How Do I Install JDK7 (Java 7) On Mac OS X 10.7.3 ...
You're going to want to point that to the new JDK, which java_home tells us is located in:
So, the magic commands you need are:
Then, you should be good:
java,jdk,mac osx
Published at DZone with permission of Brian O' Neill, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.