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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 06:28:01  来源:igfitidea点击:

How can I download Java SE 1.5 for Mac OS 10.6

javamacososx-snow-leopard

提问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 并选择首选版本。

  1. Open terminal and go to /System/Library/Frameworks/JavaVM.framework/Versions/
  2. Type ls -l to list all available Java versions
  3. Enter sudo ln -fhsv CurrentJDK
  1. 打开终端并转到 /System/Library/Frameworks/JavaVM.framework/Versions/
  2. 键入 ls -l 以列出所有可用的 Java 版本
  3. 输入 sudo ln -fhsv CurrentJDK

Reference: Changing Java Version in Mac

参考:在 Mac 中更改 Java 版本

回答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)崩溃