Bug#634996: libjogl2-core-java: won't work with trivial example from wikipedia

folkert folkert at vanheusden.com
Thu Jul 21 15:02:58 UTC 2011


Package: libjogl2-core-java
Version: 2.0-rc2-3
Severity: normal


Hi,

As a test I downloaded the jogl example from wikipedia.
It doesn't work altough I added every .jar-file from the jogl2 packages to my classpath.
Maybe you can add some notes to the enclosed readme.debian file telling what to jars/paths to add as a minimum to classpaths/ld paths/etc to get a basic test working. I totally agree to splitting everything up in seperate packages but now it's a bit unclear for the casual JOGL2 user what to do.

This is what I tried:
java -cp /usr/share/java/jogl.core.jar:/usr/share/java/jogl.util.jar:/usr/share/java/nativewindow.core.jar:/usr/share/java/jogl.awt.jar:/usr/share/java/jogl.util.awt.jar:/usr/share/java/nativewindow.awt.jar:/usr/share/java/jogl.gldesktop.jar:/usr/share/java/gluegen2-2.0-rc2-rt.jar:/usr/share/java/gluegen2-rt.jar:/usr/share/java/nativewindow.awt.jar:. JOGLQuad

from
http://en.wikipedia.org/wiki/Java_OpenGL

which gives:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no nativewindow_awt in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681)
	at java.lang.Runtime.loadLibrary0(Runtime.java:840)
	at java.lang.System.loadLibrary(System.java:1047)
...


-- System Information:
Debian Release: 6.0.2
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libjogl2-core-java depends on:
ii  libgluegen2-rt-java           2.0-rc2-7  Tool to automatically generate the

libjogl2-core-java recommends no packages.

libjogl2-core-java suggests no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list