ClassNotFoundException: com.jme3.system.NativeLibraryLoader

Hi, i’m trying to revive my project and downloaded the project from github, added the appropriate libraries and got the following error msg. Can anyone help me decipher it? When I look at the source of the error, it’s commented out…which is odd since it shouldn’t hit that spot then…

debug:
jan 07, 2015 7:35:07 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
jan 07, 2015 7:35:11 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.1.0 (snapshot-github)
jan 07, 2015 7:35:11 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: E:\JMonkey\AlpineTerra
Exception in thread "LWJGL Renderer Thread" java.lang.NoClassDefFoundError: com/jme3/system/NativeLibraryLoader
	at com.jme3.system.lwjgl.LwjglContext.loadNatives(LwjglContext.java:173)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
	at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ClassNotFoundException: com.jme3.system.NativeLibraryLoader
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	... 3 more
BUILD SUCCESSFUL (total time: 6 seconds)

I managed to get past it.

Seems I needed a combination of the snapshop-jar of lwjgl from github and the lwjgl-minimum libs from the SDK… If anyone can tell me why I’d much appreciate it.

Kind regards,
Asser

1 Like

You shouldn’t use the github version to get your project working, its a development version that is in heavy flux and will break all the time. Just use 3.0 stable.