简体   繁体   English

如何在特立独行的人身上获得Java 6 JDK

[英]How to get Java 6 JDK on mavericks

I am trying to get the Java 6 JDK on my mac. 我正在尝试在Mac上获取Java 6 JDK。 I've tried downloading this http://support.apple.com/kb/DL1572 我尝试下载此http://support.apple.com/kb/DL1572

But I can't find it in /Library/Java/JavaVirtualMachines 但我在/ Library / Java / JavaVirtualMachines中找不到它

I already have Java 8 installed, and I don't want to remove it or replace it, I just want to have the Java 1.6 JDK that I can work with on my computer. 我已经安装了Java 8,并且不想删除或替换它,我只想拥有可以在计算机上使用的Java 1.6 JDK。 (Need it to do my mandatory assignemtns for class. Studying Computer Science) (需要完成我的必修课,学习计算机科学)

What do I have to do? 我需要做什么? Thanks in advance! 提前致谢!

It installs in a different location. 它安装在其他位置。

$ uname -a
Darwin Yoyo-2.local 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64 i386 MacBookPro11,3 Darwin

$ /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

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

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