Mac OS 10.7(Lion)附带JDK 1.6和Java 6.可以安装1.5版本,因此两者可以共存吗?
您只需要在/System/Library/Frameworks/JavaVM.framework/Versions中安装JDK,然后将符号链接更新为1.5,以便指向正确的版本而不是默认的1.6(最新版本)?
然后相应地更新JAVA_HOME环境变量?
Mac OS 10.7 (Lion) comes with JDK 1.6 and java 6. Is it feasible to install 1.5 as well so the two can co-exist?
Would you just install the JDK in /System/Library/Frameworks/JavaVM.framework/Versions and then update the symlink to 1.5 so it points to the correct version instead of the default 1.6 (latest)?
Then update the JAVA_HOME environment variable accordingly?
最满意答案
从这里: https://discussions.apple.com/message/15760121#15760121
更好的解释:
1)从http://www.charlessoft.com/Pacifist.dmg下载并安装Pacifist 2)从http://support.apple.com/kb/DL1360下载并安装JavaForMacOSX10.6Update5 3)从http://support.apple.com/kb/DL1421下载并安装JavaForMacOSX10.7 4)启动Pacifist并选择Open Package 5)选择已安装的JavaForMacOSX10.6Update5.pkg 6)点击安装,当它提示时总是选择“替换” 7)完成后,选择Open Package并选择JavaForMacOSX10.7.pkg 8)当提示选择“替换”时 9)您可以从SL复制Safari 5.0.5,或者如果您无法访问SL计算机 10)从http://appldnld.apple.com.edgesuite.net/content.info.apple.com/Safari5/041-0564下载并安装Safari 5.0.5。 20110413.Fi9pb / Safari5.0.5SnowLeopard.dmg 11)在Pacifist中选择Open Package并选择Safari 5.0.5 pkg文件 12)这次选择Extract并将其放在桌面上 13)转到桌面上的Safari5.0.5SnowLeopard文件夹,在里面你会看到一个应用程序文件夹,打开它,你会看到Safari,你可以重命名这个Safari,我命名我的Safari 5.0.5并将它复制到你的主应用程序文件夹或任何你想要的。 14)启动这个Safari并转到关于并确保它说5.0.5 15)试试你的安全应用管理器。
From here: https://discussions.apple.com/message/15760121#15760121
Better explaination:
1) Download and install Pacifist from: http://www.charlessoft.com/Pacifist.dmg 2) Download and Mount JavaForMacOSX10.6Update5 from http://support.apple.com/kb/DL1360 3) Download and Mount JavaForMacOSX10.7 from http://support.apple.com/kb/DL1421 4) Launch Pacifist and select Open Package 5) Select the mounted JavaForMacOSX10.6Update5.pkg 6) Hit install, when it prompts always select "Replace" 7) After it is complete, select Open Package and select the JavaForMacOSX10.7.pkg 8) When it prompts select "Replace" 9) You can copy Safari 5.0.5 from SL or if you do not have access to a SL machine 10) Download and mount Safari 5.0.5 from http://appldnld.apple.com.edgesuite.net/content.info.apple.com/Safari5/041-0564. 20110413.Fi9pb/Safari5.0.5SnowLeopard.dmg 11) In Pacifist select Open Package and select the Safari 5.0.5 pkg file 12) This time select Extract and place it onto your desktop 13) Go to the Safari5.0.5SnowLeopard folder on your desktop, inside of that you will see an Applications folder, open that and you will see Safari, you can rename this Safari, I named mine Safari 5.0.5 and copy it to your main Applications folder or whereever you want. 14) Launch this Safari and go to About and make sure it says 5.0.5 15) Try your Secure App Manager.
更多推荐
发布评论