Currently freenet does not work with GCJ/GIJ/Kaffe/any other free JVM. We are working on this. You will need to install the proprietary Sun VM. I believe there is an installer package for it in debian, j2re maybe, probably in the non-free section. You might want to look at blackdown. Otherwise, use the tar.gz/RPM installer from their web site (java.sun.com), and set, assuming it unpacked to /opt/j2sdk1.4.2:
export JAVA_HOME=/opt/j2sdk1.4.2/ export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH Your problem below is caused by trying to run it under GIJ. On Thu, May 06, 2004 at 06:34:03PM +0100, Bram Boskamp wrote: > tried to get freenet working on my debian system. > i have never used the j2re, so i'm not sure if the installation went right. > > Bram > > economics:/home/bram/freenet# ./update.sh > --15:48:53-- http://freenetproject.org/snapshots/freenet-latest.jar > => `freenet-latest.jar' > Resolving freenetproject.org... done. > Connecting to freenetproject.org[66.35.250.210]:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 2,303,642 [application/x-java-archive] > > 100%[=============================================================================================================>] > > 2,303,642 138.53K/s ETA 00:00 > > 15:49:09 (138.53 KB/s) - `freenet-latest.jar' saved [2303642/2303642] > > --15:49:09-- http://freenetproject.org/snapshots/seednodes.ref.bz2 > => `new-seednodes.ref.bz2' > Resolving freenetproject.org... done. > Connecting to freenetproject.org[66.35.250.210]:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 492,263 [text/plain] > > 100%[=============================================================================================================>] > > 492,263 102.72K/s ETA 00:00 > > 15:49:15 (102.72 KB/s) - `new-seednodes.ref.bz2' saved [492263/492263] > > --15:49:15-- http://freenetproject.org/snapshots/freenet-ext.jar > => `freenet-ext.jar' > Resolving freenetproject.org... done. > Connecting to freenetproject.org[66.35.250.210]:80... connected. > HTTP request sent, awaiting response... 200 OK > Length: 127,205 [application/x-java-archive] > Server file no newer than local file `freenet-ext.jar' -- not retrieving. > > economics:/home/bram/freenet# ./start-freenet.sh > Detected freenet-ext.jar > Detected freenet.jar > Starting Freenet now: Command line: java -Xmx128m freenet.node.Main > Done > economics:/home/bram/freenet# Exception in thread "main" > java.lang.NullPointerException > at 0x4013866d: _Jv_ThrowSignal (/usr/lib/libgcj.so.2) > at 0x4013869b: ?? (??:0) > at 0xbf7febd4: ?? (??:0) > at 0x40141b4a: _Jv_ResolvePoolEntry(java.lang.Class, int) > (/usr/lib/libgcj.so.2) > at 0x4014980c: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) > (/usr/lib/libgcj.so.2) > at 0x4014a703: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, > _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.2) > at 0x40146671: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, > void) (/usr/lib/libgcj.so.2) > at 0x40233114: ?? (??:0) > at 0x4023325f: ffi_call_SYSV (/usr/lib/libgcj.so.2) > at 0x40233227: ffi_raw_call (/usr/lib/libgcj.so.2) > at 0x401468db: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) > (/usr/lib/libgcj.so.2) > at 0x4014a703: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, > _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.2) > at 0x40146671: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, > void) (/usr/lib/libgcj.so.2) > at 0x40233114: ?? (??:0) > at 0x4023325f: ffi_call_SYSV (/usr/lib/libgcj.so.2) > at 0x40233227: ffi_raw_call (/usr/lib/libgcj.so.2) > at 0x401468db: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation) > (/usr/lib/libgcj.so.2) > at 0x4014a703: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw, > _Jv_InterpMethodInvocation) (/usr/lib/libgcj.so.2) > at 0x40146671: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw, > void) (/usr/lib/libgcj.so.2) > at 0x40233114: ?? (??:0) > at 0x4014d65f: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.2) > at 0x40157b63: java.lang.Thread.run_(java.lang.Object) > (/usr/lib/libgcj.so.2) > at 0x402326a4: ?? (??:0) > at 0x403d8f76: GC_start_routine (/usr/lib/libgcjgc.so.1) > at 0x403f10ba: ?? (??:0) > at 0x40504d6a: __clone (/lib/libc.so.6) > java -version > java version "1.4.2_04" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) > Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) > > _______________________________________________ > 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] -- Matthew J Toseland - [EMAIL PROTECTED] Freenet Project Official Codemonkey - http://freenetproject.org/ ICTHUS - Nothing is impossible. Our Boss says so.
signature.asc
Description: Digital signature
_______________________________________________ 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]
