Le Samedi 28 Septembre 2002 18:46, Greg Wooledge a écrit :
fabrice ([EMAIL PROTECTED]) wrote:
[fab@localhost freenet]$ java.lang.NoSuchMethodError:
freenet/support/Heap$Element.compareTo(Ljava/lang/Object;)I
This indicates that your CLASSPATH is not set to include the freenet.jar
file.
Personally, I don't trust any of the *.sh scripts in Freenet. They
generally aren't kept up to date. Here's how I do it (cutting and
pasting from a previous message I sent to this very same mailing list,
which obviously nobody would bother to search for in the archives):
1. Install java.
2. Install the Freenet jar files (freenet.jar and freenet-ext.jar).
3. Get seed node references from somewhere and put them in seednodes.ref.
4. Set CLASSPATH to include both of the jar files.
5. Run java freenet.node.Main --config and answer the questions. This
creates freenet.conf in the current directory.
6. Edit freenet.conf by hand to fill in all the stuff that the --config
skipped over.
7. Run nohup java freenet.node.Main to start the Freenet node.
8. Wait for it to finish creating the data store, etc.
9. Point your browser at http://localhost:/ (gateway) and/or
http://localhost:8889/ (administrative reports).
I'm really sorry but my english isn't very good and i don't understand some of
answers of Greg Wooledge:
I've installed java (j2re1.4.0_02 of Sun) in /usr/java.
Freenet jar files was in the freenet package downloaded (freenet.jar and
freenet-ext.jar). Are they installed? If no, how do it ( with Ark, extracting
files in my Freenet directory?)
During the configuration of freenet, a seednodes.ref file was created;
there's a lot of text that i don't understand (i'm not a programer)
CLASSPATH: during freenet config:
[fab@localhost freenet]$ sh start-freenet.sh
usage: kaffe [-options] class
Options are:
-help Print this message
-versionPrint version number
-fullversionPrint verbose version info
-ss size Maximum native stack size
-mx size Maximum heap size
-ms size Initial heap size
-as size Heap increment
-classpath path Set classpath
and I try to set classpath with this kaffe line command: kaffe -classpath
/usr/java/j2re1.4.0_02/lib (I've copied the both freenet jar files in this
directory) but nothing new. I don't know how to set up classpath: what must i
do exactly.
If you can help me, thank you a lot.
Fabrice
___
support mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/support