[freenet-support] unrecognized command: Java -XX:MaxDirectMemorySize

2007-04-29 Thread urza9...@gmail.com
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  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  wrote:
> >
> >
> > On 4/26/07, 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:
> > >   -helpprint out this message
> > >   -version print out version number and copyright information
> > >   -showversion show version number and copyright and continue
> > >   -cp -classpath   
> > >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= 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
> >
>
>
> --
> 
> http://www.spreadfirefox.com/?q=affiliatesid=0t=57;> border="0" alt="Get Firefox!" title="Get Firefox!"
> src="http://sfx-images.mozilla.org/affiliates/Buttons/180x60/blank.gif"/>
>


-- 

http://www.spreadfirefox.com/?q=affiliatesid=0t=57;>http://sfx-images.mozilla.org/affiliates/Buttons/180x60/blank.gif"/>



[freenet-support] unrecognized command: Java -XX:MaxDirectMemorySize

2007-04-26 Thread Juiceman
On 4/26/07, 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:
>   -helpprint out this message
>   -version print out version number and copyright information
>   -showversion show version number and copyright and continue
>   -cp -classpath   
>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= 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
-- next part --
An HTML attachment was scrubbed...
URL: 



[freenet-support] unrecognized command: Java -XX:MaxDirectMemorySize

2007-04-26 Thread urza9...@gmail.com
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:
  -helpprint out this message
  -version print out version number and copyright information
  -showversion show version number and copyright and continue
  -cp -classpath   
   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= set a system property
  -X   show help on non-standard options



-- 

http://www.spreadfirefox.com/?q=affiliatesid=0t=57;>http://sfx-images.mozilla.org/affiliates/Buttons/180x60/blank.gif"/>



Re: [freenet-support] unrecognized command: Java -XX:MaxDirectMemorySize

2007-04-26 Thread Juiceman

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:
  -helpprint 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
  -Dname=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]

Re: [freenet-support] unrecognized command: Java -XX:MaxDirectMemorySize

2007-04-26 Thread urza9814
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:

[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 freenet.node.Main
Done


it never moves on to the second part.

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


 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:
-helpprint 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
-Dname=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]



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