Edit the file called start-freenet.sh and add this to the top replacing javapath with the directory that the java excutable is in.

PATH=javapath:$PATH
export PATH

Run start-freenet.sh and Freenet should start up after that.

Dave

-------------------

Dave, here are the first 10 lines of "start-freenet.sh"

<<<<<<<<<<<<<

#!/bin/sh

# Check to see whether we use echo -n or echo "\c" to suppress newlines.
case "`echo 'hi there\c'; echo ' '`" in
  *c*) n='-n'; c='';;
  *)   n=''; c='\c';;
esac

# and get java implementation too, Sun JDK or Kaffe
JAVA_IMPL=`java -version 2>&1 | head -1 | cut -f1 -d' '`

<<<<<<<<<<

As you can see no "Path" statement per se. Just the tenth line, "JAVA..."
I tried inserting the suggested two lines as follows after the "#!bin/sh" comment:
	
	PATH=/philtr/j2sdk_nb/j2sdk1.4.2./jre/bin/java:$PATH
	export PATH

Of course I'm assuming that 'jre' stands for, java runtime environment (of course one knows what happens when one assumes!) No luck. 

I then inserted a '#' in front of the JAVA... statement, still no luck. 
Now I'm really scratching my head.  

Any suggestions? 

I'm attaching a copy of 'start-freenet.sh' just in case I'm missing a critical statement further down in the file. 

Of course I might be in the wrong directory altogether. The other 'java' executable is in:
	
	"/philtr/j2sdk_nb/j2sdk1.4.2/bin/java"

While this is headed to the ethernet, I'll be playing with:

	PATH=/philtr/j2sdk_nb/j2sdk1.4.2/bin/java:$PATH
	export PATH

Thanks for your patience. phil



Attachment: start-freenet.sh
Description: Bourne shell script

_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support

Reply via email to