On 4/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

I'm trying to get Freenet 0.5 working, but I'm encountering the following
error:

[EMAIL PROTECTED] freenet]# sh start-freenet.sh
Detected freenet-ext.jar
Detected freenet.jar
Sun java detected.
Sun Java 1.4.2 detected.
Starting Freenet now: Command line: java -Xmx128m
-XX:MaxDirectMemorySize=128m freenet.node.Main
Done
[EMAIL PROTECTED] freenet]# Unrecognised command line option:
-XX:MaxDirectMemorySize=128m
Usage: java [-options] class [arg1 arg2 ...]
                 (to run a class file)
   or  java [-options] -jar jarfile [arg1 arg2 ...]
                 (to run a standalone jar file)

where options include:
  -help            print out this message
  -version         print out version number and copyright information
  -showversion     show version number and copyright and continue
  -cp -classpath   <jar/zip files and directories separated by :>
                   locations where to find application classes
  -verbose[:class|gc|jni]
                   :class print out information about class loading, etc.
                   :gc print out results of garbage collection
                   :jni print out native method dynamic resolution
  -D<name>=<value> set a system property
  -X               show help on non-standard options




Quick and dirty fix:  edit start-freenet.sh and remove the
-XX:MaxDirectMemorySize=128m from the command line.

--
I may disagree with what you have to say, but I shall defend, to the death,
your right to say it. - Voltaire
Those who would give up Liberty, to purchase temporary Safety, deserve
neither Liberty nor Safety. - Ben Franklin
_______________________________________________
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to