I think this problem was posted by someone else before but I can’t find it.
I can’t run the SDK
I have a PC running Windows Vista (service pack 2)
I uninstalled the existing SDK because it did not run.
I downloaded and re-installed SDK.
In the Start Menu I clicked on “jMonkeyEngine SDK”
The Jme3 logo appears for a few seconds with a message “Loading cached objects”.
Jmonkeyplatform.exe appears in the Task Manager for a few seconds.
Then the logo and the task disappear. No error message. No hint as to what went wrong.
I haven’t started my SDK for a while but when I tried it a few days ago I got the same thing (Mac OSX 10.8, Using nightlies but updated maybe 6 weeks old). Since I started the SDK last I’ve switched JDKs to 1.8 early access so I thought that might be the reason or something else I broke on my machine.
Anyhow, you can find the IDE Log here:
http://wiki.netbeans.org/FaqLogMessagesFile
In my case I get this:
java.lang.IllegalStateException: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:423)
at org.openide.util.WeakListenerImpl.create(WeakListenerImpl.java:164)
at org.openide.util.WeakListeners.create(WeakListeners.java:271)
at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:125)
at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:142)
at org.openide.filesystems.MultiFileSystem.getMultiRoot(MultiFileSystem.java:267)
at org.openide.filesystems.MultiFileSystem.findResource(MultiFileSystem.java:355)
at org.openide.filesystems.FileUtil.getConfigFile(FileUtil.java:2276)
at org.openide.filesystems.FileUtil.getConfigRoot(FileUtil.java:2306)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:158)
at org.netbeans.core.startup.Main.start(Main.java:305)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers "public"
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:93)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:295)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:287)
at java.lang.reflect.Constructor.newInstance(Constructor.java:404)
at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:413)
... 12 more
Removed and re-installed JMonkeyEngine, again. This time I checked the installer log.
Here is the tail end of jmonkey installer log
java.lang.IllegalStateException: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers “public”
at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:423)
at org.openide.util.WeakListenerImpl.create(WeakListenerImpl.java:164)
at org.openide.util.WeakListeners.create(WeakListeners.java:271)
at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:125)
at org.openide.filesystems.MultiFileObject.<init>(MultiFileObject.java:142)
at org.openide.filesystems.MultiFileSystem.getMultiRoot(MultiFileSystem.java:267)
at org.openide.filesystems.MultiFileSystem.findResource(MultiFileSystem.java:355)
at org.openide.filesystems.FileUtil.getConfigFile(FileUtil.java:2276)
at org.openide.filesystems.FileUtil.getConfigRoot(FileUtil.java:2306)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:158)
at org.netbeans.core.startup.Main.start(Main.java:305)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.IllegalAccessException: Class org.openide.util.WeakListenerImpl$ProxyListener can not access a member of class org.openide.filesystems.$Proxy0 with modifiers “public”
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:93)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:295)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:287)
at java.lang.reflect.Constructor.newInstance(Constructor.java:404)
at org.openide.util.WeakListenerImpl$ProxyListener.<init>(WeakListenerImpl.java:413)
… 12 more
I have no idea how to resolve this. If anyone does know, please post.
Hmm… I was having a problem that first pointed at the OpenGL thread, but I dimly remember having seen these class names in stack traces myself.
Seeing that the stack trace is entirely inside Netbeans code, it might be a good idea to turn to the Netbeans community to resolve this.
… ah I see: https://netbeans.org/bugzilla/show_bug.cgi?id=229191
From what I gather there, Netbeans is doing something that a recent Java update has started banning due to security concerns.
Also, a patch exists, it is linked to from the bug report.
(I didn’t investigate any of the other bug reports that might exist.)
<cite>@toolforger said:</cite>
Hmm... I was having a problem that first pointed at the OpenGL thread, but I dimly remember having seen these class names in stack traces myself.
Seeing that the stack trace is entirely inside Netbeans code, it might be a good idea to turn to the Netbeans community to resolve this.
… ah I see: 229191 – Cannot start NetBeans on JDK8 because ISE occurs
From what I gather there, Netbeans is doing something that a recent Java update has started banning due to security concerns.
Also, a patch exists, it is linked to from the bug report.
(I didn’t investigate any of the other bug reports that might exist.)
Good call, I can start the SDK fine if I use JDK 1.7, same SDK but using JDK 1.8 run into the java.lang.IllegalAccessException for the proxy creation. Looks like a netbeans issue.
1 Like
I suspect that security update is going to hit Java 7 sooner or later. If it’s not already out and people are just not seeing it yet because their Java didn’t get updated recently, that is.
… whoah, it’s updating a gazillion of plugins right now, including parts of Netbeans itself. I guess we should retry now.
(Unfortunately, I’m still seeing my own problem.)
1 Like
Well, I after about 60 hours of blind trial and error, I finally got the SDK to start.
In all that time, I failed to notice that the JMonkey platform log file stated JAVA_HOME was going to be the folder holding Java1.8.
I have the beta version of SDK 1.8 loaded on my computer but my environment variables all point to 1.7
I uninstalled 1.8 and son of a gun, JMonkey started right up!
I don’t know why JMonkeyEngine IDE would try to use 1.8. I have had the NetBeans JDK installed for a while now and it always started using Java 1.7.
Apparently toolforger and jmaasing were right. My compliments.
Netbeans (jME) does not care about JAVA_HOME, it will use the default java, same as when you run from command line. if you opened a command prompt and typed ‘java -version’ I’d bet it would have been 1.8 
If on the other hand you want to set a specific java for jME find the ‘etc’ directory in your jME installation and the file called ‘jmonkeyplatform.conf’, or use the --jdkhome command line switch to point to the JDK you want it to use. That’s how I verified that it worked with 1.7 even though I have 1.8 as default.