v2.2.1 does not start up in Debian Buster
Brought to you by:
mdeweerd
If I run v2.2.1 in Debian Buster, I get
java.lang.VerifyError: (class: waba/fx/NativeMethods4JDK, method: soundClipStop signature: (Lwaba/fx/SoundClip;)Z) Incompatible argument to function
v2.1.3 starts up fine, it downloads 4194304 bytes data, but the downloaded data from bt747 A+ are corrupt ? At least the version says that it could not find any data in the bin. "No output files were created".
If I replace the 3 jars files in dist/ of v2.1.3 with the ones of v2.2.1, the GUI starts up still, it downloads the data from the bt747. This time, the bin is just "327680" bytes in size, but the GUI (BT747 Application) splits the data into reasonable GPX tracks, which work fine with https://josm.openstreetmap.de/ .
3. Which version of java are you running? How do you start bt747?
As I do not have a buster installation "as such" at hand, I tried in my Ubuntu 20.04 installation on windows and XMing.
I installed java using (so that I get javaws also, not needed in this case):
apt install icedtea-netx
Then I needed
export DISPLAY=0:0
because on windows the GUI is not native, but I use XMing.
Then I ran "./run_j2se.sh" in the directory where I have my build environment .
Apparently that file is not distributed in the zip file. It only has run_rxtx.sh which runs the Waba version. In that case I get the same error.
You can get the script from the SVN repository:
https://sourceforge.net/p/bt747/code/HEAD/tree/branches/BT747_mdeweerd/run_j2se.sh
I add it to my packaging script.
You can also convert using the CLI only. Check './run_j2se.sh -h' for options.