Re: [freenet-support] How to force freenet to use a non-default java

2010-09-08 Thread Romain Dalmaso
On Wed, Sep 8, 2010 at 4:00 AM, urza9...@gmail.com wrote: If you're launching with the shell script (is there a launcher shell script anymore?), you could just change where it calls java and hardcode your own location as above. Don't do that. It's stupid. Edit the wrapper.java.command=java

Re: [freenet-support] How to force freenet to use a non-default java

2010-09-08 Thread Uriel Carrasquilla
Don't do that. Edit the wrapper.java.command=java line in the wrapper.conf file. This is a nice clean solution. Thank you. ___ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at

Re: [freenet-support] How to force freenet to use a non-default java

2010-09-08 Thread Uriel Carrasquilla
Edit the wrapper.java.command=java line in the wrapper.conf file. I must be doing something wrong. I started from scratch by deleting the freenet directory followed by a tar -xzvf freenet...tar.gz. Then, I changed wrapper.con file as follow: wrapper.java.command=$HOME/bin/java I did an ls

Re: [freenet-support] How to force freenet to use a non-default java

2010-09-08 Thread Dennis Nezic
On Wed, 8 Sep 2010 22:10:22 -0400, Uriel Carrasquilla wrote: Edit the wrapper.java.command=java line in the wrapper.conf file. I must be doing something wrong. I started from scratch by deleting the freenet directory followed by a tar -xzvf freenet...tar.gz. Then, I changed

Re: [freenet-support] How to force freenet to use a non-default java

2010-09-07 Thread Eric Chadbourne
On 09/07/2010 08:33 PM, Uriel Carrasquilla wrote: I don't have root access to my machine. I installed Sun Java 1.6 in my own user directory. I created a java a soft link in $HOME/bin. But I cannot put $HOME/bin ahead of the other libraries in $PATH. How can I force freenet to use the java

Re: [freenet-support] How to force freenet to use a non-default java

2010-09-07 Thread urza9814
If you're running the jar directly, you could just hardcode the path to Java in front of it. i.e. instead of typing 'java -jar freenet.jar' you could type something like '~/bin/java -jar freenet.jar'...and you could put that into a shell script or some kind of shortcut to make it easier. If you're