This page describes how to install and uninstall JRE 8 on OS X computers.
De Coligny, 26.7.2016 (Java 1.8) F. Griffon, 29.8.2014 On Mac OS X, upgrading Java to version 1.7 caused problems with the JOGL (Java OpenGL) library version 2.0, used y the sketch AMAP library we use for 3D rendering in Capsis and AMAPstudio. This is a memo about the changes we had to do to make it work correctly on all target systems (Win 32/64, Lin 32/64 and Mac OS X). Mac OS X Port Project. The goal of this Project is to produce a high-quality, open source version of JDK 7 for the Mac. The final release has the following goals: Pass all appropriate certification tests for Java SE 7; Include a complete, native Cocoa-based UI Toolkit; Provide excellent performance; This Project is sponsored by the Porters.
This page has these topics:
See 'JDK 8 and JRE 8 Installation Start Here' for general information about installing JDK 8 and JRE 8.
See 'OS X Platform Install FAQ' for general information about installing JRE 8 on OS X.
System Requirements
Observe these requirements:
Note that installing the JRE on OS X is performed on a system-wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user.
Only one JRE can be installed at a time. Download onyx mac os x 10.6.8. The system will not install a JRE that has a lower version than the current version. If you wish to install a lower version of the JRE, uninstall the current version as described in 'Uninstalling the JRE'.
Installing a JRE from Oracle will not update
java -version symlinks or add java to your path. To be able to do this, you need to install the JDK.
Download Jdk 8 For MacJRE Downloaded File
Depending on your processor, the downloaded file has one of the following names, where
version is the update number:
Installing JRE 8u40
If you are installing JRE 8u40, then follow these steps:
Determining the Installed Version of the JRE
If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See 'Note for Users of OS X that Include Apple Java 6 Plug-in'.
Only one JRE can be installed. Installing a JRE removes the previously installed JRE. The JRE version used by the system can be determined in one of two ways:
The system will not install a JRE that has a lower version than the current version. If you want to install a lower version, first uninstall the existing version.
Uninstalling the JRE
To uninstall the JRE, you must have Administrator privileges and execute the remove commands either as root or by using the sudo(8) tool.
Remove one directory and one file (a symlink), as follows:
Do not attempt to uninstall Java by removing the Java tools from
/usr/bin . This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.
The JDK source code is packaged in a
src.jar , and should be in the JDK/Home folder. However, some JDK versions in Mac OSX didn’t include the source code or Javadoc.
Try
find it :
If you couldn’t find the
src.jar , then get it from Apple developer website.
1. Download from Apple Developer
Go https://developer.apple.com/downloads/index.action , sign in with your Apple ID.
Download the “Java for OS X 2013-0* Developer Package“, it contains JDK runtime, source code and Javadoc, install the downloaded
*.dmg and follow the wizard guide to finish the installation.
2. Find JDK Source CodeJava Jdk 8 Download
After the installation, the JDK source code should be found in following location :
Note
Alternatively, you can download the JDK source from the Oracle JDK website. ReferencesRelated ArticlesmkyongFounder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |