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
foldernetbeans.conf
file of etc foldernetbeans_jdkhome
property. Now open your NetBeans it will work.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With