Hence on my Mac running Lion (10.7.5) I use the same command with '-v 1.6'. This is crucial because I need Java 6 and Oracle doesnt provide one for Mac OS - only Java 7, and this allows me to use the installed JAva 6 even though Java 7 is installed. – Rhubarb May 20 '13 at 11:43.
Java EE SDK Downloads. Go to the Oracle Java Archive page. Java Platform, Enterprise Edition 8 Web Profile SDK; Java Platform, Enterprise Edition 8 SDK; Java Platform, Enterprise Edition 7 SDK Update 3. DOWNLOAD Java for Mac OS X 2017-001. This enables Disqus, Inc. To process some of your data. Disqus privacy policy. Java for Mac OS X 2017-001 Softpedia Editor's Pick add to watchlist send us an update. 2 screenshots: runs on: Mac OS X 10.7 or later (Intel only) file.
Join the DZone community and get the full member experience.
Join For Free To get JDK 7 up,
- 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:
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:
Install Java On Mac
Then, you should be good:
Published at DZone with permission of Brian O' Neill, DZone MVB. See the original article here.
Download Java Jdk 7 For Mac
Opinions expressed by DZone contributors are their own.