On Tue, 14 Sep 2004 10:31:32 -0600 Yanyan Wang <[EMAIL PROTECTED]> wrote:
> I have a FreeBSD machine. Can I run a Freenet node on it? I had ever tried > before, but it always failed because of some java class errors. > > I haven't work with Freenet for some time. I don't know if Freenet has been > improved now so that it could run on FreeBSD machine correctly now? Thanks! Yes, it's indeed possible and Freenet runs quite well for me with FreeBSD 4.9. The easiest way to get Freenet running on FreeBSD is to enable Linux emulation and use the Linux binary Java distribution. You can do this even if you have a native FreeBSD-compiled Java installed. To enable Linux emulation, add this line to /etc/rc.conf : linux_enable="YES" Download Java this way: fetch "http://java.sun.com/webapps/download/AutoDL?BundleId=9718" mv AutoDL\?BundleId\=9718 j2re1.4.2_05.bin chmod 755 j2re1.4.2_05.bin ./j2re1.4.2_05.bin The installer will do its thing, creating a j2re1.4.2_05 directory wherever it was executed. Move this directory around if you want to, I put mine at /usr/local/java/j2re1.4.2_05. If you have a native Java and do not want to overwrite any existing symlinks, open start-freenet.sh and replace all of the java calls so that they reflect the path where you installed the Linux Java, e.g. /usr/local/java/j2re1.4.2_05/bin/java. If you did not already have Java installed, you can symlink the Java binary from wherever you installed it into /usr/bin, /usr/sbin, or somewhere else that's in your $PATH. Plus, now you have Java... :) Good luck -s _______________________________________________ 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]
