简体   繁体   English

使用Java 7 Mac Osx 10.9安装Java 6

[英]Installing Java 6 with Java 7 Mac Osx 10.9

I have the latest Java installed on my mac: 我在Mac上安装了最新的Java:

java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

I have just installed some Adobe applications, and Dreamveaver is asking for Java SE 6. 我刚刚安装了一些Adobe应用程序,而Dreamveaver要求使用Java SE 6。

Is it okay to have Java 6 and 7 installed? 可以安装Java 6和7吗? If so, will terminal print the above code twice with two different Java versions? 如果是这样,终端将使用两个不同的Java版本两次打印以上代码吗?

EDIT 编辑

After getting some answers I decided to click okay - OSX found the software and installed it and Dreamweaver booted up fine. 得到一些答案后,我决定单击“确定”-OSX找到了该软件并安装了它,Dreamweaver的启动正常。 I just ran the java -version within Terminal and got the same print out as above. 我只是在Terminal中运行java -version并获得了与上述相同的打印结果。 When I opened the Java icon within System Preferences I get the same version as I did before. 当我在“ System Preferences打开Java图标时,将获得与以前相同的版本。 No mention of Java SE 6. 没有提到Java SE 6。

Java版本

Well there is no issue in installing both but the newer version will only be the one shown in the terminal. 好吧,安装这两个版本都没有问题,但是较新的版本只会是终端中显示的版本。 I suggest you first install SE 6 and then install SE 7 or the vice-verse hopefully it will solve your problem. 我建议您先安装SE 6,然后再安装SE 7或反之,希望它可以解决您的问题。 Are you facing any issue downloading Java ? 您在下载Java时遇到任何问题吗?

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

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