Fixing TuxGuitar Java Errors in Arch Linux

2 years ago
170

How to fix the java errors that occur when running tuxguitar in Arch linux as of September 5th 2021.

tuxguitar website: http://tuxguitar.com.ar/

AUR link:

https://aur.archlinux.org/packages/tuxguitar-common

JRE 11:

https://archlinux.org/packages/extra/x86_64/jre11-openjdk/

Command Reference:

sudo pacman -R tuxguitar-gtk2
sudo pacman -R tuxguitar-common

sudo pacman -Syu jre11-openjdk

makepkg -si

PKGBUILD fix:

change the line:

export JAVA_HOME=/usr/lib/jvm/default

to the following:

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk/

Launch Command:

JAVA_HOME=/usr/lib/jvm/java-11-openjdk tuxguitar

Loading comments...