Hi,
I wanted to start using JME3 today. Since it’s I’m doing things for school and I’m bound to rules I have to use BlueJ instead of the JME-platform. So I added all the 20 .jar files to the classpath and tried running this:
[java]import com.jme3.app.SimpleApplication;
public class TestApp extends SimpleApplication{
public static void main(String[] args) {
(new TestApp()).start();
}
@Override
public void simpleInitApp() {
}
}[/java]
At first the “Select Display Settings” window pops up but when I click “Ok” this exception is thrown:
30.01.2012 14:15:49 com.jme3.system.JmeSystem initialize
INFO: Running on jMonkey Engine 3 Alpha 0.6
30.01.2012 14:15:49 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #1: file:/C:/Users/Max/Documents/schule/Info/BLL/Java/+libs/
30.01.2012 14:15:49 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #2: C:UsersMaxDocumentsschuleInfoBLLJava
30.01.2012 14:15:49 com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #3: C:UsersMaxDocumentsschuleInfoBLLJava
30.01.2012 14:15:49 com.jme3.system.Natives extractNativeLib
WARNUNG: Cannot locate native library: windows/lwjgl.dll
30.01.2012 14:15:49 com.jme3.system.Natives extractNativeLib
WARNUNG: Cannot locate native library: windows/OpenAL32.dll
Exception in thread "LWJGL Renderer Thread" java.lang.UnsatisfiedLinkError: Can't load library: C:UsersMaxDocumentsschuleInfoBLLJavalwjgl.dll
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at org.lwjgl.Sys$1.run(Sys.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.(Sys.java:98)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:182)
at java.lang.Thread.run(Thread.java:662)
For those not familiar with BlueJ: Every .jar file that's put into the folder "+lib" is automatically added to the classpath.
If I run that piece of code with the JME-platform everything works fine.
Any help?
edit: Sorry, I figured out that this is apparently a BlueJ problem. If started with the commandline everything works.
I still need to fix the problem with BlueJ but I guess there isn't anyone around here using BlueJ.