Tux Guitar

Problems

Subject problem path



Author Message
zipfelauf
Post: Aug 23rd 2008 at 12:12 PM

Hi all,

i have installed tuxguitar on my debian lenny and have tis error when i start Tuxguitar :

zipfelauf@lucrece:~$ tuxguitar
/usr/bin/tuxguitar: line 142: /opt/jre1.6.0_07//jre/bin/java: Aucun fichier ou répertoire de ce type

I've looked in /usr/bin/tuxguitar at line 142 :
${JAVA} ${JAVA_FLAGS} ${PACKAGE_MAIN} $arg "$@"


What can i do ?


Back to Top
 
Julian
Post: Aug 23rd 2008 at 2:11 PM

Hi,
for any reason the launcher script of
/opt/jre1.6.0_07//jre/bin/java

Where do you get java installed ?


Back to Top
 
zipfelauf
Post: Aug 23rd 2008 at 4:57 PM

zipfelauf@lucrece:~$ java --version
java version "1.5.0"
gij (GNU libgcj) version 4.3.1

zipfelauf@lucrece:~$ whereis java
java: /usr/bin/java /etc/java /usr/lib/java /usr/local/bin/java /usr/share/java /opt/jre1.6.0_07/bin/java
zipfelauf@lucrece:~$

is this help you ?


Back to Top
 
Julian
Post: Aug 23rd 2008 at 6:11 PM

Yes, it helps.
I don't exactly remember how /usr/bin/tuxguitar script works (it's not same as used for official release)

But looking your "whereis" and the error i can tell you.
you have JRE, but script is looking like if you have JDK
JRE vs JDK:
JDK_HOME/jre/bin/java
JRE_HOME/bin/java

So this path don't exists on your System:
/opt/jre1.6.0_07/jre/bin/java

This is the right path:
/opt/jre1.6.0_07/bin/java

I'll let know to Phillipe Coval ( Debian package mantainer ) about this.. but he is at hollidays now.

By the moment, i can only suggest you edit (as root) /usr/bin/tuxguitar

And on line "142" replace:
${JAVA}
To
/opt/jre1.6.0_07/bin/java


Back to Top
 
zipfelauf
Post: Aug 23rd 2008 at 6:21 PM

Thank you soooo much : it works

i'll wait for the update of debian package but it works for now !

thx a lot.


Back to Top
 
io
Post: May 27th 2011 at 8:51 AM

mannaggia i s*****enti


Back to Top