You are not logged in.
Hi,
I installed tuxguitar via pacman. When I start it I get this error
/usr/share/TuxGuitar-0.9.1-linux-gtk-x86/tuxguitar: line 27: java: command not found
this is the content of that file, line 27 is the last one
#!/bin/bash
##SCRIPT DIR
DIR_NAME=`dirname "$0"`
DIR_NAME=`cd "$DIR_NAME"; pwd`
cd "${DIR_NAME}"
##JAVA
if [ "${JAVA}" == "" ]; then
if [ "${JAVA_HOME}" != "" ]; then
JAVA=${JAVA_HOME}/bin/java
else
JAVA=java
fi
fi
##CLASSPATH
CLASSPATH=$CLASSPATH:./TuxGuitar.jar:lib/swt.jar:lib/itext-1.4.5.jar:./share/
##LIBRARY_PATH
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:lib/
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/jni
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
##MAINCLASS
MAINCLASS=org.herac.tuxguitar.gui.TuxGuitar
##JVM ARGUMENTS
VM_ARGS="-Xms128m -Xmx128m"
##LAUNCH
${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2"
the dependencies jre and swt are installed...
Last edited by SiD (2007-02-23 13:23:49)
Offline
If jre got installed as a dep together with tuxguitar you first have to source /etc/profile as Java resides in /opt and the PATH variable needs to be refreshed.
1000
Offline
yes,
source /etc/profile
did it.
Thanks!
Offline