如何在Mac OSX上降级JRE / JDK? [英] How to downgrade JRE/JDK on Mac OSX?

查看:321
本文介绍了如何在Mac OSX上降级JRE / JDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道如何在Mac OSX到终端上将JRE / JDK的版本从1.6.0_24降级到1.6.0_18?我需要降级才能让Java applet在Firefox中运行。任何帮助将不胜感激。

Does anyone know how to downgrade the version for JRE/JDK from 1.6.0_24 to 1.6.0_18 on a Mac OSX thru Terminal? I need to downgrade in order to get a Java applet working in Firefox. Any help would be much appreciated.

推荐答案

如果你的机器上没有旧的JDK,你需要使用GUI并下载Java更新程序。我能找到的离你最近的是适用于Mac OS 10.5的Java 1.6.0_15(你没有提到你正在运行的Mac OS X版本):

If the older JDK isn't on your machine, you'd need to use the GUI and download the Java updater. The one closest to yours I could find was for Java 1.6.0_15 for Mac OS 10.5 (you didn't mention which Mac OS X version you were running):

< a href =http://support.apple.com/kb/DL924 =nofollow> Java for Mac OS X 10.5 Update 5

我没有看到Mac OS X 10.6的任何内容。为此,您可能必须为每个10.6版本下载更新程序,并从更新程序中提取JDK安装程序(使用) Pacifist

I didn't see any for Mac OS X 10.6. For that, you would probably have to download the updaters for each 10.6 release, and extract the JDK installer from the updater (using something like Pacifist

哦,如果您还没有,请尝试运行/ Applications / Utilities / Java Preferences.app,它允许您更改默认的Java你的机器在你安装的机器中。

Oh, and if you haven't already, try running /Applications/Utilities/Java Preferences.app, which lets you change the default Java on your machine amongst the ones you have installed.

希望这有帮助......

Hope this helps...

这篇关于如何在Mac OSX上降级JRE / JDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆