I'm running Ubuntu and have JRE downloaded and installed and modified BucketExplorer.sh to read
- Code: Select all
#!/bin/sh
#BucketExplorer
BucketExplorer_home='/home/mlb/BucketExplorer'
jre_home='/usr/lib/java-6-sun/jre/bin'
chkpath="$jre_home/java"
if [ -e $BucketExplorer_home ]
then
export PATH=$BucketExplorer/jre6/bin:${PATH}
export CLASSPATH=$BucketExplorer_home/BucketExplorer.jar:${CLASSPATH}
java -Xmx256M -client com.simontuffs.onejar.Boot $1 $2
else
echo "Path $BucketExplorer_home not found"
echo "Edit BucketExplorer_home to specify full PATH of Bucket Explorer home dir$
fi
and when I run it I get several warning messages and the program dies. I was able to fix this by creating a symbolic link to my jre6 library going to the directory where you unzipped BucketExplorer and typing
- Code: Select all
ln -s $JAVA_HOME/jre jre6
Just make sure $JAVA_HOME is pointing to your jre library by typing
- Code: Select all
echo $JAVA_HOME
If it doesn't on Ubuntu 8.04 my jre is stored at /usr/lib/jvm/java-6-sun/jre so you could type
- Code: Select all
ln -s /usr/lib/jvm/java-6-sum/jre jre6
Hope it helps