macos 如何下载适用于 Mac OS 10.6 的 Java SE 1.5
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1525347/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How can I download Java SE 1.5 for Mac OS 10.6
提问by Eric Wilson
I'm searching for a way to download Java 5 for Mac OS 10.6. Where can I find this? Sun's site didn't have it for the Mac, and the Mac site only had it for older versions of OS X.
我正在寻找一种为 Mac OS 10.6 下载 Java 5 的方法。我在哪里可以找到这个?Sun 的网站上没有 Mac 版,Mac 网站上只有旧版 OS X 版。
Thanks much.
非常感谢。
采纳答案by Federico klez Culloca
I found this, http://chxor.chxo.com/post/183013153/installing-java-1-5-on-snow-leopard
我发现了这个,http://chxor.chxo.com/post/183013153/installing-java-1-5-on-snow-leopard
Unfortunately Apple seems to hate Java, so they're never up-to-date with it...
不幸的是,Apple 似乎讨厌 Java,所以他们从来没有更新过它......
回答by Sunil Manheri
Try the below steps:
尝试以下步骤:
Go to Finder->Utilities->Java and open Java Preferences and select the preferred version.
转到 Finder->Utilities->Java 并打开 Java Preferences 并选择首选版本。
- Open terminal and go to /System/Library/Frameworks/JavaVM.framework/Versions/
- Type ls -l to list all available Java versions
- Enter sudo ln -fhsv CurrentJDK
- 打开终端并转到 /System/Library/Frameworks/JavaVM.framework/Versions/
- 键入 ls -l 以列出所有可用的 Java 版本
- 输入 sudo ln -fhsv CurrentJDK
Reference: Changing Java Version in Mac
回答by fscara
moreover the SUN "test your JVM" page (http://www.java.com/en/download/help/5000041300.xml) crashes every browser (firefox 3.0, safari) i tried under osx 10.6
此外,SUN“测试您的 JVM”页面(http://www.java.com/en/download/help/5000041300.xml)使我在 osx 10.6 下尝试过的每个浏览器(firefox 3.0、safari)崩溃