I have NetBeans 7.3
and I upgraded my JDK to 1.8
. Now I tried to open NetBeans and was getting Loading Cached Objects
message on its loading window and then NetBeans got terminated.
I was getting following exception (available in \\var\\log\\messages.log file):
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 .
JDK 8 works with Netbeans 8+ .
If you wish to continue using Netbeans 7.x with older version of Java revert JDK location in netbeans using following steps:
/etc
folder netbeans.conf
file of etc folder netbeans_jdkhome
property. Now open your NetBeans it will work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.