Daniel Lewis wrote:
I downloaded and installed Java in /usr/java, but when I run freenet it says
"starting freenet now: Done" then "nice: java: no such file or directory".  I'm
running Fedora Core 1, and am somewhat new to Linux so I'm not sure how to fix
this problem.  Thanks

It seems that the java bin directory isn't in your path, so the startup scripts can't find it.


To fix this, go to /etc/profile.d and create a file called java.sh with the following contents:

--clip--
export JAVA_HOME="/usr/java/j2sdk1.4.2_03"
export JAVA_PATH="$JAVA_HOME"
export PATH="$PATH:$JAVA_HOME/bin"
--clip--

Remember to substitute /usr/java/j2sdk1.4.2_03 with the actual directory that you installed Java in.

After you've created the file and set it as executable (chmod +x java.sh), logout and login. freenet startup scripts should work now.

--
  Mika Hirvonen <[EMAIL PROTECTED]>
  http://nightwatch.mine.nu/
_______________________________________________
Support mailing list
[EMAIL PROTECTED]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to