Just wanna post this so there's an answer in the archives:

Turns out I didn't have real java. I had 'JamVM'. Which, despite
running the real java install several times, is still running instead
of java. And it won't let me uninstall it. But I have freenet working
now by putting in the full path to the real java binary. Getting rid
of this JamVM thing can wait I suppose.

On 4/26/07, urza9814 at gmail.com <urza9814 at gmail.com> wrote:
> That's not working. One other thing I had to change in the script was
> add an 'LD_ASSUME_KERNEL=2.6.17'...I just threw that in after all the
> if loops that set that...but whenever I try running it now it just
> gives me this:
>
> [root at localhost 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 freenet.node.Main
> Done
>
>
> it never moves on to the second part.
>
> On 4/26/07, Juiceman <juiceman69 at gmail.com> wrote:
> >
> >
> > On 4/26/07, urza9814 at gmail.com <urza9814 at gmail.com> wrote:
> > > I'm trying to get Freenet 0.5 working, but I'm encountering the following
> > error:
> > >
> > > [root at localhost 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
> > > [root at localhost 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 at freenetproject.org
> > http://news.gmane.org/gmane.network.freenet.support
> > Unsubscribe at
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
> > Or
> > mailto:support-request at freenetproject.org?subject=unsubscribe
> >
>
>
> --
> <HTML>
> <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=57";><img
> border="0" alt="Get Firefox!" title="Get Firefox!"
> src="http://sfx-images.mozilla.org/affiliates/Buttons/180x60/blank.gif"/></a>
>


-- 
<HTML>
<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=57";><img
border="0" alt="Get Firefox!" title="Get Firefox!"
src="http://sfx-images.mozilla.org/affiliates/Buttons/180x60/blank.gif"/></a>

Reply via email to