NativeLibs? (now at least 15 characters)

I try to run Sample Apps in netbeans after successful build of jme3.

I get the error

Mär 25, 2015 12:22:40 PM com.jme3.system.JmeDesktopSystem initialize
INFORMATION: Running on jMonkeyEngine 3.0.10
Mär 25, 2015 12:22:40 PM com.jme3.system.Natives extractNativeLibs
INFORMATION: Extraction Directory: .../NetBeansProjects/jme3
Exception in thread "main" java.lang.UnsatisfiedLinkError: .../NetBeansProjects/jme3/ /usr/local/lib/compat/ version GLIBC_2.2.5 required by .../NetBeansProjects/jme3/ not defined
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(
	at java.lang.ClassLoader.loadLibrary(
	at java.lang.Runtime.load0(

How do I get these libs?

In nbproject/build-bullet-natives.xml Linux is taken as a fallback, this is bad. There are other unices and so-called unices

bullet-native-build.txt talks of nbproject/ and files which don’t exist.
The compilation wants to compile nativelib-linux-64 with a “linux” include dir despite I am on FreeBSD. Where is this set?
Or can I use the whole thing without native bullet?

You can use jbullet no problem, thats the default actually. It seems you indiscriminately import everything jME into one project somehow? Best read the docs about what each jar does.

As for your problem, jME supports Windows, OSX and Linux, not BSD or plain UNIX. You can disable building of natives in the gradle properties file.

There is no gradle in 3.0.
I just built it as described in here: .
I try to run the bundled tests. Can I do this without native libs?
Now that I have compiled native bullet it misses, what is this?
There are 3 linux libs always copied to the root dir, these are useless because they are linux.
Can I use jme without native libs at all?

LWJGL is required to access hardware accelerated rendering via OpenGL, Java does not have this functionality by default.
There seems to be a FreeBSD port of LWJGL here:

That should be the only native dependency needed to get jME3 working.

Thanks, but I think I give up. The lwjgl port works with java 1.7 only.

I updated it to 2.9.3 and it works!

Isn’t giving up after it works called “being successful”?

1 Like

It worked AFTER I had given up :wink: