If you would like to learn Java programming, the best way is by writing Java codes by yourself. To compile the Java codes then you need Java Development Kit (JDK). It can be Oracle JDK or OpenJDK. This post guides you how to install Oracle JDK 8 on Mac OS X 10.10 Yosemite. It should be also applicable for previous version of OS X such as OS X Maverick, Mountain Lion, and OS X Lion. At the time of this post written, the latest version of JDK is JDK 8 Update 25.Basically I had written an article how to install Java SE 7 / JDK 7 on Mac OS X Lion. I just would like to rewrite on the newest version.
![]() ![]() ![]()
They are provided here for use with older version of the JDK. Releases after JDK 8 ship with, and use by default, the unlimited policy files. Java Cryptography Extension (JCE) JCE Download Java Time Zone Updater Tool. The TZUpdater tool is to enable an Oracle JDK or JRE user to patch their installation with the most recent timezone data. Oct 26, 2018 Click here for my previous article about this utility and answers to this StackOverflow post, which includes one of the most extensive and useful guides to running different JDK versions on MacOS.
Download Oracle JDK 8 from. You need to accept license agreement to be able to download the file. Make sure you select the Mac OS X x64 platform (jdk-8u25-macosx-x64.dmg).2. Double-click the downloaded file ‘jdk-8u25-macosx-x64.dmg’ and follow the on-screen installation.3. Once it is successfully installed, it is installed inside /Library/Java/JavaVirtualMachines folder. $ ls -l /Library/Java/JavaVirtualMachines/total 0drwxr-xr-x 3 root wheel 102 Nov 4 2013 jdk1.7.045.jdkdrwxr-xr-x 3 root wheel 102 Jan 16 14:13 jdk1.8.025.jdk4. Verify that the system is now using JDK 8.
$ java -versionjava version '1.8.025'Java(TM) SE Runtime Environment (build 1.8.025-b17)Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)5. If you would like to uninstall JDK 8, simply remove the jdk1.8.025.jdk sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.8.025.jdk/Hopefully this tutorial helps you on installing JDK 8 / Java SE 8 on Mac OS X 10.10 Yosemite.
![]() Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |