简体   繁体   English

在Ubuntu上安装带有JDK 1.6的Netbeans 7.3

[英]Install Netbeans 7.3 with JDK 1.6 on Ubuntu

My pc has Oracle JDK 1.6_24 and need to install Netbeans 7.3.1. 我的电脑有Oracle JDK 1.6_24,需要安装Netbeans 7.3.1。 OS is Ubuntu. 操作系统是Ubuntu。 Since Netbeans asks JDK 1.7, installation of Netbeans cannot be processes. 由于Netbeans要求使用JDK 1.7,因此Netbeans的安装不能是进程。 Any possibile thing I can to install Netbeans ? 我可以安装Netbeans吗?

EDIT: I can not install JDK 1.7 and need to keep 1.6 version because of another reason. 编辑:由于其他原因,我无法安装JDK 1.7,并且需要保留1.6版本。 So need to run Netbeans installer on JDK 1.6 因此需要在JDK 1.6上运行Netbeans安装程序

Just install Java 7, then install Netbeans 7.3. 只需安装Java 7,然后再安装Netbeans 7.3。
When running Netbeans you still chan choose version of JDK and set it to 1.6_24 for your projects. 运行Netbeans时,您仍然可以选择JDK的版本并将其设置为1.6_24。

EDIT: 编辑:
You can install JDK 1.7 in an other folder, you don't have to overwrite your JDK 1.6 folder. 您可以将JDK 1.7安装在另一个文件夹中,而不必覆盖JDK 1.6文件夹。 For installation just choose the new installation, for programming take your older JDK 1.6_24. 对于安装,只需选择新安装,对于编程,请使用旧的JDK 1.6_24。

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

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