Linux: Version up to 1.55 doesn't work :(

xens's picture


I've been using this software for one year (with my Qstarz BT1000). I always updated the software when a new version come out, but I'm stucked with the 1.55 version, all upper versions don't work, they always fail with a:

Exception in thread "main" java.lang.NoClassDefFoundError: waba/applet/Applet
Caused by: java.lang.ClassNotFoundException: waba.applet.Applet
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
Could not find the main class: waba.applet.Applet. Program will exit.

I read that you did some big changes (like superwaba) and I think this is the problem but how to solve it?

I'm using jre-6 from sun on ubuntu 9.04

Thanks :) Romain

mdeweerd's picture

Suggestions for solutions


The current latest version is '1.67.24' but I do not think that should make a difference.

There are several methods to launch the program on Ubuntu:
- -> PDA like interface - requires waba;
- -> Desktop interface - does not require waba.

The message you get means that the 'Waba' library could not be found, which means that it is not on the 'CLASSPATH' defined in the script.

In principle, the path is set in this line:

Where you can see that Waba_only is expected in ${ROOT_DIR}/lib. Root dir is set through:
ROOT_DIR=`dirname $0`
if [ -z "$ROOT_DIR" ] ; then ROOT_DIR="." ; fi

Upon execution of the script in a shell, the actual values should be visible because the header of the script is:
#!/bin/sh -vx

I looked at '' and 'lilb/Waba_only.jar' exists there. in 1.55 it exists too.

I suggest that you check out wheter lib/Waba_only.jar exists as a file and is correctly set on script execution.

To check where java is looking for the file, you can use 'strace' (I think you need to do 'strace -h -etrace=file' to trace all started processes and do logging related to file transactions only) to log transactions of the program with the system.

Hopefully this points you in the right direction.

xens's picture

nice one!!!

W000t ! ;)

thanks for the tips! Something is wrong with the startup script from 1.55 to 1.60 version, this line was pointing to someting that doesn't exists (wabalang.jar)

used this one and it works as expected :]

It's seems to be fixed in 1.63 release.