Bug#337560: kaffe: Fail to run java version of World Wind (trigger assert)

Petter Reinholdtsen pere at hungry.com
Fri Nov 4 23:59:08 UTC 2005


Package: kaffe
Version: 2:1.1.6-3

Kaffe 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 Kaffe, I get this assert error instead:

  % LD_LIBRARY_PATH=`pwd` kaffe -jar WW2D.jar
  WW2D 0.99.86 by Vitaliy Pronkin <pronvit at gmail.com> starting...
  kaffe-bin:
    /build/buildd/kaffe-1.1.6/build-tree/kaffe-1.1.6/kaffe/kaffevm/support.c:351:
    lookupClassMethod: Assertion `cls != ((void *)0)' failed.
  Aborted
%

Any idea how to get it working with Kaffe?

-- 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 kaffe depends on:
ii  kaffe-pthreads                2:1.1.6-3  A POSIX threads enabled version of

kaffe recommends no packages.

-- no debconf information




More information about the pkg-java-maintainers mailing list