<br><br><div><span class="gmail_quote">On 4/26/07, <b class="gmail_sendername"><a href="mailto:urza9814@gmail.com">urza9814@gmail.com</a></b> <<a href="mailto:urza9814@gmail.com">urza9814@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm trying to get Freenet 0.5 working, but I'm encountering the following error:<br>
<br>[root@localhost freenet]# sh start-freenet.sh<br>Detected freenet-ext.jar<br>Detected freenet.jar<br>Sun java detected.<br>Sun Java 1.4.2 detected.<br>Starting Freenet now: Command line: java -Xmx128m<br>-XX:MaxDirectMemorySize=128m
freenet.node.Main<br>Done<br>[root@localhost freenet]# Unrecognised command line option:<br>-XX:MaxDirectMemorySize=128m<br>Usage: java [-options] class [arg1 arg2 ...]<br> (to run a class file)<br> or java [-options] -jar jarfile [arg1 arg2 ...]
<br> (to run a standalone jar file)<br><br>where options include:<br> -help print out this message<br> -version print out version number and copyright information<br> -showversion show version number and copyright and continue
<br> -cp -classpath <jar/zip files and directories separated by :><br> locations where to find application classes<br> -verbose[:class|gc|jni]<br> :class print out information about class loading, etc.
<br> :gc print out results of garbage collection<br> :jni print out native method dynamic resolution<br> -D<name>=<value> set a system property<br> -X show help on non-standard options
<br><br><br><br></blockquote></div><br>Quick and dirty fix: edit start-freenet.sh and remove the -XX:MaxDirectMemorySize=128m from the command line.<br clear="all"><br>-- <br>I may disagree with what you have to say, but I shall defend, to the death, your right to say it. - Voltaire
<br>Those who would give up Liberty, to purchase temporary Safety, deserve neither Liberty nor Safety. - Ben Franklin