Comment 91 for bug 68020

Revision history for this message
anonymic (john-m-horsey-deactivatedaccount) wrote :

Ok, so I'm a complete rookie with Linux, running Gutsy for about 5 days now, but i've run into the same problems.
azureus crashing on startup with sliding warnings turned both on and off
azureus crashing after deleting logs directory when loading torrent files from directory [when popup delaring "existing files will be checked" gets it's 'ok' button clicked]

My fix was as follows, and Azureus 2.5.0.4 is running strong now:

sudo gedit /usr/bin/azureus

edit so that the beginning of the file looks like this:

#!/bin/sh
if [ x$AZUREUS_JAVA = x ]; then
   echo "Looking for and picking a preferred Java runtime"
   echo "Use environment AZUREUS_JAVA to override"
   if [ -f /usr/lib/jvm/java-6-sun/jre/bin/java ]; then
      JAVA='/usr/lib/jvm/java-6-sun/jre/bin/java'
   elif [ -f /usr/lib/jvm/java-1.5.0-sun/jre/bin/java ]; then
      JAVA='/usr/lib/jvm/java-1.5.0-sun/jre/bin/java'
   else
      echo '******** WARNING **********'
      echo 'Unable to find a supported Java runtime'
      echo 'Going to assume java is in your PATH'
      echo '****************************'
      JAVA='java'
   fi

there used to be another version of java-like runtime that i'm not familiar with; icedtea or some similar.