System Requirements for Installing the JDK on macOS
- Any Intel-based computer running macOS.
- Administrator privileges.You cannot install Java for a single user. Installing the JDK on macOS is performed on a systemwide basis for all users. Administrator privileges are required to install the JDK on macOS.
Determining the Default JDK Version on macOS
- Use Software Update available on the Apple menu to check that you have the most up-to-date version of Java 6 for your Mac. Java 7 and later versions are not supported by these older versions of Mac OS X. If you have problems with Java 6, contact Apple Technical Support. Java.com does not provide a download for these systems.
- $ java -version java version '13' Java(TM) SE Runtime Environment (build 13) Java HotSpot(TM) 64-Bit Server VM (build 23.2-b04, mixed mode) To run a different version of Java, either specify the full path, or use the javahome tool.
- Java manual download page. Get the latest version of the Java Runtime Environment (JRE) for Windows, Mac, Solaris, and Linux.
java -version
in a Terminal window. If the installed version is 13 Interim 0, Update 0, and Patch 0, then you see a string that includes the text 13
. For example: java_home
tool. For example: $ /usr/libexec/java_home -v 13 --exec javac -version
Installing the JDK on macOS
- Download the JDK
.dmg
file,jdk-13.
interim.update.patch_osx-x64_bin.dmg
.Before the file can be downloaded, you must accept the license agreement. - From either the browser Downloads window or from the file browser, double-click the
.dmg
file to start it.A Finder window appears that contains an icon of an open box and the name of the.pkg
file. - Double-click the
JDK 13.pkg
icon to start the installation application.The installation application displays the Introduction window. - Click Continue.
- Click Install. A window appears that displays the message: Installer is trying to install new software. Enter your password to allow this.
- Enter the Administrator user name and password and click Install Software.The software is installed and a confirmation window is displayed.
.dmg
file if you want to save disk space. Uninstalling the JDK on macOS
You must have Administrator privileges./usr/bin
. This directory is part of the system software and any changes will be reset by Apple the next time that you perform an update of the OS. - Go to
/Library/Java/JavaVirtualMachines
. - Remove the directory whose name matches the following format by executing the
rm
command as a root user or by using thesudo
tool:/Library/Java/JavaVirtualMachines/jdk-13.interim.update.patch.jdk
For example, to uninstall 13 Interim 0 Update 0 Patch 0:$ rm -rf jdk-13.jdk
Installation FAQ on macOS Platform
$ export JAVA_HOME=`/usr/libexec/java_home -v 13`
/usr/bin/java
to call Java. After installing Java for macOS 2012-006, /usr/bin/java
will find the newest JDK installed, and will use that for all of the Java-related command-line tools in /usr/bin
. You may need to modify those applications to find Java 6, or contact the developer for a newer version of the application. ![Legacy java se 6 mac Legacy java se 6 mac](/uploads/1/2/6/6/126660200/150848349.png)
KB ID 0001213
Problem
I used to use Dreamweaver all the time, it was used to design and build the site and handle all the uploads etc. Since I moved to WordPress I don’t use is as much. But it’s still a great code editor so I still fire it up on occasion. At least I did until this started happening;
Download Legacy Java Se 6 Runtime
To open “dreamweaver” you need to install the legacy Java SE 6 runtime.
Click “More info…” to visit the legacy Java SE 6 download website.
Solution
I’m a bit twitchy about Java, I need to tread a fine line between keeping updated, and still having a version that works with my clients firewalls. The amount of times things have ‘smashed’ because Java has updated for me are numerous. Java can turn a 25 second job into a two hour job.
So the thought of ‘downgrading’ to version 6 was not one I relished. But thankfully, if you avoid the Sun Java site and install the Apple Legacy Java package everything continues to work.
If you’re still having problems, see this article.
Download Java Se 6 Runtime For Mac 10.10
Related Articles, References, Credits, or External Links
NA