Table of Contents

@related : Eclipse Java dpkg Debian IBM Tablature JVM @from: tuxguitar


Depends: java-gcj-compat | sun-java6-jre | sun-java5-jre | java-virtual-machine , ( libswt-gtk-3.4-java , libswt-cairo-gtk-3.4-jni , libswt-mozilla-gtk-3.4-jni ) | libswt3.2-gtk-java, libitext-java



tuxguitar - Multitrack guitar tablature editor and player (gp3 to gp5)


/usr/lib/jvm/java-6-openjdk/jre/bin/../..//jre/bin/java: symbol lookup error: /usr/lib/jni/ undefined symbol: _ZN4nsID5ParseEPKc
libswt3.2-gtk-jni: /usr/lib/jni/

ToDo :


Install it on [[Debian]] (current version is ugly but just works)

Open a Terminal and type
\su root
wget -O- >> /etc/apt/sources.list
sudo apt-get update
# sudo apt-get install sun-java5-jre # on [[Debian]] or [[Ubuntu]]
sudo apt-get install tuxguitar  libswt-gtk-3.1-java libitext-java # [[Debian]]
# logout
tuxguitar # as user

Or if you're a developper :

dget tuxguitar_0.8-2.dsc
dpkg-source -x tuxguitar_0.8-2.dsc

pbuilder create

pbuilder login --save-after-login
pbuilder upgrade
apt-get install whiptail; dpkg-reconfigure debconf


sodu apt-get remove j2re1.4 # java.lang.UnsupportedClassVersionError:
sudo apt-get install sun-java5-jre # on [[Debian]] or [[Ubuntu]]
sudo apt-get install libswt3.1-gtk-java libgtk-java libswt3.1-gtk-jni # [[Ubuntu]]
java -Xms128m -Xmx128m \
 *cp /usr/share/tuxguitar/TuxGuitar.jar:/usr/lib/java/swt.jar \
 *Djava.library.path=/usr/lib/:/usr/lib/jni/ \
# Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3139 in java.library.path
# dpkg -L libswt-gtk-3.1-jni | grep
# libswt-gtk-3.1-jni: /usr/lib/ # [[Debian]]
# dpkg -L libswt-gtk-3.1-jni | grep libswt-pi-gtk
# dpkg -L libswt-gtk-3.2-jni | grep libswt-pi-gtk

apt-cache policy libswt-gtk-3.1-jni
ls /usr/share/java
sudo dpkg -L libgtk-java
sudo dpkg -L libswt3.1-gtk-java | grep .jar
make CLASSPATH=.:bin:/usr/share/java/itext.jar:/usr/lib/java/swt3.1-gtk.jar
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Layout
swt.txt · Last modified: 2020/04/20 18:24 (external edit)
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki