This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 212938, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253) VM: OpenJDK Zero VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24 OS: Linux User Comments: GUEST: Clicked PHP Applications under Demos & Tutorials GUEST: When I initialize NetBeans the problem occurred. Stacktrace: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native at org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.<init>(LinuxNotifier.java:103) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at java.lang.Class.newInstance0(Class.java:372)
Created attachment 128928 [details] stacktrace
Caused by SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.masterfs.Installer java.lang.Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Permission denied at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java:762) at com.sun.jna.Native.loadNativeLibrary(Native.java:697) at com.sun.jna.Native.<clinit>(Native.java:127) at org.netbeans.modules.masterfs.watcher.linux.LinuxNotifier.<init>(LinuxNotifier.java:103) I thought we don't need to create any temporary files anymore!? Don't we extract them during build time and then just use them?
We don't provide binaries for ARM architecture so JNA falls back to extracting its binaries from JAR. Reporter, please try running NetBeans with -J-Djava.io.tmpdir=$HOME cmdline switch and reopen if you can still reproduce the problem, thanks.