[英]Netbeans 6.9.1 not working on windows 8
I want to make Java Desktop Application
but Netbeans 6.9.1 is not working on windows 8.1 (it crashes on double click to run). 我想制作
Java Desktop Application
但Netbeans 6.9.1在Windows 8.1上不起作用(双击运行时崩溃)。 I have installed JDK8
along with Jre7
(both 32 and 64 bit). 我已经与
Jre7
(32位和64位)一起安装了JDK8
。 How to make it run, Netbeans 8 is working properly. 如何使其运行,Netbeans 8正常运行。
You must have JDK 6.0 on your system to install and run NetBeans IDE 6.9.1.
您必须在系统上安装JDK 6.0才能安装和运行NetBeans IDE 6.9.1。
Source NetBeans IDE 6.9.1 Release Notes . 源NetBeans IDE 6.9.1发行说明 。
To make Netbeans run on JDK 6, if you have more than one JDK do this: 要使Netbeans在JDK 6上运行,请执行以下操作:
You can change the JDK for Netbeans by modifying the config file:
您可以通过修改配置文件来更改JDK for Netbeans:
Open netbeans.conf file available under etc folder inside the NetBeans installation.
打开NetBeans安装中etc文件夹下的netbeans.conf文件。 Modify the
netbeans_jdkhome
variable to point to new JDK path, and then Restart your Netbeans.修改
netbeans_jdkhome
变量以指向新的JDK路径,然后重新启动Netbeans。
Sample 样品
# Default location of JDK, can be overridden by using --jdkhome <dir>:
#netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_45"
netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_45"
I got a Solution You must have JDK 6.0 on your system. 我有一个解决方案 ,您的系统上必须装有JDK 6.0。 Then SET PATH at time of installation to JDK 6.0 .
然后在安装到JDK 6.0时设置PATH 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.