简体   繁体   English

Mac OS X 10.9.4安装JDK5

[英]mac os x 10.9.4 install jdk5


hi, all: 大家好:
I have some trouble in installing jdk5 on os x 10.9.4, I couldn't find the install file in oralce website and the apple developer site, how could i install jdk5 on os x 10.9.4? 我在os x 10.9.4上安装jdk5时遇到了一些麻烦,我在oralce网站和apple开发人员站点上找不到安装文件,如何在os x 10.9.4上安装jdk5?
thank you in advance. 先感谢您。
Updated: I used the script in github: install script , but it was 32 bit...I need 64 bit. 更新:我在github中使用了脚本: install script ,但是它是32位的...我需要64位。

You can't. 你不能 Prior to Java 7, Apple managed the Java JRE/JDK. 在Java 7之前,Apple管理Java JRE / JDK。 It came pre-installed (or auto-installed on first time use). 它已预先安装(或在首次使用时自动安装)。 With Apple's Java implementation, you have no choice over which version to install -- a version of OS X will be able to install a certain version of Java and no other. 使用Apple的Java实施,您别无选择安装哪个版本-OS X版本将能够安装特定版本的Java,而其他版本则不能。 I'm not sure what the last version of OS X to run Java 5 was, but certainly 10.9 Mavericks uses Java 6. 我不确定运行Java 5的OS X的最新版本是什么,但是肯定10.9 Mavericks使用Java 6。

In OS X 10.9, your only choices are Apple's Java 6 (auto-installed on first time use) or Oracle's Java 7 (downloaded form Oracle's website). 在OS X 10.9中,您唯一的选择是Apple的Java 6(在首次使用时自动安装)或Oracle的Java 7(从Oracle网站下载)。 This applies to both the JRE and JDK. 这适用于JRE和JDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM