My previous post about installing Java on OS X received quite a bit of traffic, and I felt that some of the information was outdated, and it became a little unclear after all the edits, so I’ve endeavoured to create a much easier to understand set of instructions.
The instructions for installing the JDK (Java Development Kit) are a subset of the instructions for installing just the JRE, because Oracle provides an installer for the JDK.
要在 Mac 上安装 Java,请按照以下步骤操作: 下载 jre-7u6-macosx-x64.dmg 文件。 在下载文件前,需查看并同意许可证协议的条款。 双击.dmg 文件以启动它 双击 程序包图标 以启动安装向导 安装向导将显示 'Welcome to Java 7'(欢迎使用 Java 7)安装屏幕。. How do I use JDK 7 on Mac OSX? Run downladed jdk-7u40-macosx-x64.dmg and it will automatically add file to the. If Eclipse can't find a JRE that is 1.7. Example: For Java 8 Update 65 (8u65) the file to download is jre-8u65-macosx-x64.pkg. Notifications about disabled Java and restoring prompts. The installer notifies you if Java content is disabled in web browsers, and provides instructions for enabling it. If you got the above token, ask google for site:oracle.com jre-7u6-macosx-x64.dmg and click the first result, a page probably entitled 'Java Archive Downloads - Java SE 7 - Oracle'. If you are in Europe, congrats!
You should be done now, so try and open the application. If it does not work, some applications require legacy Java 6 to be installed. You can have it installed without actually using it, however, it’s possible to trick the applications into thinking legacy Java 6 is installed, without actually doing so.
If you’re running El Capitan, this is actually a little difficult now, because Apple added SIP (System Integrity Protection) to OS X. I have written a post explaining how to disable and enable SIP.
If you’ve disabled SIP, or are not running El Capitan yet, you can trick some applications into thinking legacy Java 6 is installed by creating two folders with the following commands in
Terminal :
Don’t forget to enable SIP again after creating these directories.
JavaTM SE Development Kit 7 Update 80 and NetBeansTM IDE 8.0.2 Java SE Software Bundle Installation Instructions
The following instructions describe how to install the JavaTM Platform, Standard Edition Development Kit (Java SE 7 Update 80 JDKTM) and the NetBeansTM IDE 8.0.2 Java SE integrated development environment bundle.
Contents
The Software Bundle Distribution
The Java TM SE Development Kit 7 Update 80 and NetBeansTM IDE 8.0.2 Java SE Software Bundle is distributed for various platforms as follows:
Note: JavaTM SE Development Kit 7 Update 80 cobundles JavaFX 2.2.
Installing the Software Bundle on Microsoft Windows
To install the software, you must have administrator privileges on your system. The installer places the Java Runtime Environment (JRE) software in %Program Files%Javajre7, regardless of the specified JDK install location.
Note: This installer does not displace the system version of the Java platform that is supplied by the Windows operating system.
Before You Install
Installing the Software
Installing the Software Bundle on Linux
You can install the JDK software and NetBeans IDE in directories of your choice. You do not have to be a root user to use this installer unless you choose to install this bundle in a system-wide location.
Note: This installer does not displace the system version of the Java platform that is supplied by the operating system.
Before you install![]()
Installing the Software
Note: If you choose to install this bundle into a system-wide location such as /usr/local, you must first login as root to gain the necessary permissions.
Installing the Software Bundle on OS X
The Software Bundle can be installed only on OS X v10.7.3 (Lion) or newer. The installer refuses earlier OS X releases.
Note: This installer does not displace the system version of the Java platform that is supplied by the operating system.
Before you installDownload Java For Mac
Installing the Software
Uninstalling the Software from Windows
Each product in the bundle must be uninstalled separately.
To uninstall the IDE:
To uninstall the JDK and JavaFX 2.2:
Note: If you uninstall the JDK, but want to continue using NetBeans IDE 8.0.2, you must set the IDE's -jdkhome option to point to an another installation of the JDK as outlined below.
To uninstall the Java Runtime Environment:
To change the value of -jdkhome:
Note: Java TM SE Development Kit (JDK) 5.0 and JDK 6 are not supported on any platform for this release. You must have JDK 7 Update 10 (or newer) on your system to install and run NetBeans IDE 8.0.2.
Uninstalling the Software from Linux
Each product in the bundle must be uninstalled separately.
To uninstall the IDE:
To uninstall the JDK and JavaFX 2.2:
Uninstalling the Software from OS X
Each product in the bundle must be uninstalled separately.
To uninstall the IDE:
To uninstall the JDK and JavaFX 2.2:
Finding Additional Documentation
NetBeans IDE is documented in the software's help system, however, additional documentation about developing with NetBeans IDE is available at the NetBeans Documentation, Training & Support page.
For installation troubleshooting help please refer to the NetBeans IDE Installation FAQ.
See instructions for installing the JDK and JRE on Windows, Linux, and OS X at the Java SE Downloads page.
Jre-7u7-macosx-x64.dmgProviding Feedback
To report a bug or to request a feature for the JDK software, please refer to the following web site: http://bugreport.java.com/bugreport/index.jsp.
To submit your comments or suggestions about the JDK software, please send email to the OpenJDK Governance Board.
For NetBeans software development team contact information, or to learn more about NetBeans IDE and the NetBeans software community, visit the NetBeans Community Portal.
Jre 7u6 Mac Os X X64 Dmg Download
To submit feedback about this documentation, please send email to Documentation Feedback.
If something is factually inaccurate please contact us and let us know. All trademarks, registered trademarks and service-marks mentioned on this site are the property of their respective owners. By contributing your product facts helps to better serve our readers and the accuracy of the content.The table below does not include all companies or all available products in the market but those that we promote as their affiliates. Dmg supplement for horses. In full compliance with the FTC guidelines, please assume that any and all links on the table are affiliate links, and we may receive compensation if you click one of these and make a purchase.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |