JOGL2 and Linux

  2 posts   Feedicon  
Replies: 1 - Last Post: April 03, 2010 01:38
by: rhdxmr
showing 1 - 2 of 2
 
Posted: April 01, 2010 11:42 by Nitram0815
Hello,

I encountered a problem with JOGL2 using the JOGL JSR-231 2.x Webstart Codebase with Linux.

My application yields the following error:
java.lang.UnsatisfiedLinkError: no nativewindow_jvm in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1678)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at com.sun.nativewindow.impl.NativeLibLoaderBase.loadLibraryInternal(NativeLibLoaderBase.java:199)
at com.sun.nativewindow.impl.NativeLibLoaderBase.acess$000(NativeLibLoaderBase.java:50)
at com.sun.nativewindow.impl.NativeLibLoaderBase$DefaultAction.loadLibrary(NativeLibLoaderBase.java:88)
at com.sun.nativewindow.impl.NativeLibLoaderBase.loadLibrary(NativeLibLoaderBase.java:126)
at com.sun.nativewindow.impl.NativeLibLoaderBase$1.run(NativeLibLoaderBase.java:133)
at java.security.AccessController.doProviledge(Native Method)
at com.sun.nativewindow.impl.NativeLibLoaderBase.loadNativeWindow(NativeLibLoaderBase.java:131)
at com.sun.nativewindow.impl.jvm.JVMUtil.<clinit>(JVMUtil.java:53)
at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:53)
...

The entries of the backtrace I left after the last one are inside my application and do not matter. This is the first call of the JOGL framework performed.

This problem turns up with OpenJDK6 and Sun Java 6 under Ubuntu 9.10 and Kubuntu 9.10 using 32bit and 64bit.

Also every demo application of JOGL2, the normal and the night build ones result in exactly the same error.

Is there anything I can do again this?

Nitram
 
Posted: April 03, 2010 01:38 by rhdxmr
Did you set the environment variable $LD_LIBRARY_PATH?
A directory containing jogl libraries is needed to be set in that variable.
Replies: 1 - Last Post: April 03, 2010 01:38
by: rhdxmr
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close