To change the default java on Ubuntu you want to use this command: *sudo update-alternatives --config java*
You might also want to seek more inspiration here, if that dosn't fix your java problem: http://wiki.freenetproject.org/UbuntuDapper Regards S?ren On 3/18/07, shaun murray <smurray1001 at yahoo.com> wrote: > > im trying to run freenet0.7 on ubuntu 6.10.. i've just run the updater > script, and this issue persists... whenever i start freenet, it runs for > about 5 minutes and then stops. i have 28 peers, and right off the bat 12 > or so will connect. then as i refresh the fproxy homepage at roughly 45 > second intervals the peers start to disconnect, and then the page stops > refreshing. if i run the stop script it says that freenet isn't running. > > should i be using a different linux distro? i've tried freenet with the > native java stuff as well as the sun java stuff that is available in the > synaptic package manager (listed below). i've downloaded from the sun site > the jdk-1_5_0_11-linux-i586.bin, and ran it according to the instructions > on their page. when i run java -version, it still reports: > > java version "1.4.2" > gij (GNU libgcj) version 4.1.2 20060928 (prerelease) (Ubuntu > 4.1.1-14ubuntu7) > > so, is that maybe part of my problem? i unpacked the sun jdk in my user > directory. should i have unpacked it into a system location with root > permissions? and if so, will i have to change any files so that the system > uses it instead of the native jave stuff? > > -=o/... > and according to synaptic, when i search for "sun", i see that i have > these installed too: > > sun-java5-bin > sun-java5-jre > sun-java5-plugin > > all are version 1.5.0-08-0ubuntu1 > > ...so why don't they show when i do "java -version"? > > is there a list of exactly what packages and versions need to be installed > for freenet to work (and the right way to install them)? i've used it > before on windows, but i prefer to use linux, and am very eager to get it > running on any linux distro necessary. > > thanks, > shaun > > ------------------------------ > Sucker-punch spam with award-winning protection. > Try the free Yahoo! Mail Beta. > > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://emu.freenetproject.org/pipermail/support/attachments/20070320/13614b96/attachment.html>