Package: jamvm
Version: 1.3.3-2
Jamvm fail to run the GIS tool World Wind. I get it working using SUN
Java by following this howto:
1) download the JOGL and ww2d packages:
wget http://download.berlios.de/ww2d/ww2d-0.99.86.zip
wget http://download.berlios.de/ww2d/JOGL-Inst.jar
2) unpack JOGL into separate directory (running the jar do not work,
as it assume root access and tries to copy files into locations
where I do not want to write new files).
(mkdir JOGL-Inst && cd JOGL-Inst && jar -x < ../JOGL-Inst.jar)
3) unpack the ww2d zip file
unzip ww2d-0.99.86.zip
4) make the jogl files available in this new directory. This is the
important trick to work around broken JOGL installer.
(cd ww2d-0.99.86 && ln ../JOGL-Inst/jogl.jar .)
(cd ww2d-0.99.86 && ln ../JOGL-Inst/libjogl.so .)
5) run the program in the ww2d... directory while making sure the
dynamic linker find the libjogl.so file.
cd LD_LIBRARY_PATH=`pwd` java -jar WW2D.jar
This give me a nice window with a map of the earth, and I can zoom in
to different areas of the world using Alt-up and Alt-down. :)
When I try to run it using jamvm, I get this exception instead:
% LD_LIBRARY_PATH=`pwd` jamvm -jar WW2D.jar
WW2D 0.99.86 by Vitaliy Pronkin <[EMAIL PROTECTED]> starting...
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative (Native Method)
at java.lang.reflect.Method.invoke (Method.java:355)
at jamvm.java.lang.JarLauncher.main (JarLauncher.java:50)
Caused by: java.lang.UnsatisfiedLinkError: Native library `jawt' not found
(as file `libjawt.so') in gnu.classpath.boot.library.path and java.library.path
at java.lang.Runtime.loadLibrary (Runtime.java:763)
at java.lang.System.loadLibrary (System.java:512)
at net.java.games.jogl.impl.NativeLibLoader$1.run (NativeLibLoader.java:63)
at java.security.AccessController.doPrivileged (AccessController.java:96)
at net.java.games.jogl.impl.NativeLibLoader.load (NativeLibLoader.java:58)
at net.java.games.jogl.impl.x11.X11GLContextFactory.<clinit>
(X11GLContextFactory.java:50)
at java.lang.VMClass.forName (Native Method)
at java.lang.Class.forName (Class.java:159)
at net.java.games.jogl.impl.GLContextFactory.getFactory
(GLContextFactory.java:69)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas
(GLDrawableFactory.java:150)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas
(GLDrawableFactory.java:118)
at net.java.games.jogl.GLDrawableFactory.createGLCanvas
(GLDrawableFactory.java:85)
at org.ww2d.core.Program.main (Program.java:48)
at java.lang.reflect.Method.invokeNative (Native Method)
...2 more
[and here it hangs]
Any idea how to get it working with jamvm?
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages jamvm depends on:
ii classpath 2:0.18-5 clean room standard Java libraries
ii classpath-common 2:0.18-5 architecture independent files
ii java-common 0.23 Base of all Java packages
ii libc6 2.3.5-7 GNU C Library: Shared libraries an
ii libffi4 4.0.2-3 Foreign Function Interface library
ii zlib1g 1:1.2.3-6 compression library - runtime
jamvm recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]