[英]Bug: Can not start NetBeans 7.3 with JDK 8
I have NetBeans 7.3
and I upgraded my JDK to 1.8
. 我有
NetBeans 7.3
并将JDK升级到1.8
。 Now I tried to open NetBeans and was getting Loading Cached Objects
message on its loading window and then NetBeans got terminated. 现在,我尝试打开NetBeans,并在其加载窗口中收到“
Loading Cached Objects
消息,然后NetBeans被终止。
I was getting following exception (available in \\var\\log\\messages.log file): 我收到以下异常(在\\ var \\ log \\ messages.log文件中可用):
java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
What is the probable reason? 可能是什么原因?
Its a bug in NetBeans 7.3 and the details of this can be found here . 它是NetBeans 7.3中的一个错误,有关详细信息,请参见此处 。
JDK 8 works with Netbeans 8+ . JDK 8可与Netbeans 8+一起使用 。
If you wish to continue using Netbeans 7.x with older version of Java revert JDK location in netbeans using following steps: 如果您希望继续将Netbeans 7.x与旧版Java结合使用,请执行以下步骤来恢复netbeans中的JDK位置:
/etc
folder /etc
文件夹 netbeans.conf
file of etc folder netbeans.conf
文件 netbeans_jdkhome
property. netbeans_jdkhome
属性指定的jdk早期版本。 Now open your NetBeans it will work.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.