Public bug reported:

Trying to run Jmonkey demo from console

java -Djava.library.path=./lib -cp
"./lib/*:./target/jme/*:./target/jmetest/*"
jmetest.effects.TestDynamicSmoker

(tried with all variations on ") set LD_LIBRARY_PATH pointing to lib
folder (handy and on bashrc)

even copied jar to lib folders of /usr/lib/jvm/...

but always getting:

09.03.2008 14:18:13 com.jme.app.BaseGame start
INFO: Application started.
09.03.2008 14:18:13 com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
09.03.2008 14:18:13 com.jme.system.PropertiesIO load
WARNUNG: Could not load properties. Creating a new one.
09.03.2008 14:18:13 class jmetest.effects.TestDynamicSmoker start()
SCHWERWIEGEND: Exception in game loop
java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at org.lwjgl.Sys$1.run(Sys.java:75)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
        at org.lwjgl.Sys.loadLibrary(Sys.java:84)
        at org.lwjgl.Sys.<clinit>(Sys.java:101)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:111)
        at com.jme.system.lwjgl.LWJGLPropertiesDialog.<init>(Unknown Source)
        at com.jme.app.AbstractGame.getAttributes(Unknown Source)
        at com.jme.app.BaseGame.start(Unknown Source)
        at jmetest.effects.TestDynamicSmoker.main(Unknown Source)
09.03.2008 14:18:13 com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
09.03.2008 14:18:13 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
09.03.2008 14:18:13 com.jme.app.BaseGame start
INFO: Application ending.

** Affects: sun-java6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Ubuntu java ignoring library path setting
https://bugs.launchpad.net/bugs/200172
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to