java 2RE

dave L dglnz at
Wed Jan 3 09:53:12 UTC 2007

but have you tried automatix?
it allows you to install various non free or restricted programs easily.

google automatix hint it's a adept/synaptic clone but doesn't replace them.

hope this helps with an easier way of installing java runtime/development enviroments.


----- Original Message ----
From: Peter Garrett <peter.garrett at>
To: ubuntu-users at
Sent: Sunday, 31 December, 2006 1:55:02 AM
Subject: Re: java 2RE

On Sat, 30 Dec 2006 10:06:50 +0000
norman <norman at> wrote:

> On Sat, 2006-12-30 at 10:38 +0100, Gilles Gravier wrote:
> > I use the self extracting binary... I don't like the idea of installing 
> > RPMs on a DEB environment.
> > 
> > I did have to tweak the "alternatives" settings for that to be properly 
> > integrated into ubuntu, but you can do it simply by modifying what the 
> > /usr/bin/java and other related binaries link to (they point to 
> > /etc/alternatives/XXX which you need to link to what you want).
> > 
> > I've just done this to get Java 1.6 to run... quite nicely... on my 
> > Ubuntu laptop.
> You are very fortunate in that you know what you are doing. I have no
> real idea on how to tweak anything thus, my instinct is to go for the
> easiest for me to do. I know how to type instructions into a terminal
> and that's as far as my experience goes.

Do you need the latest java ? If not, there are packages from the
multiverse repository you can install: -

sun-java5-bin    <-- this will pull in the runtime as a dependency

So, assuming you don't need the very latest, I would suggest that you add
the multiverse repository if you haven't already 
( see )

( apologies for the truly ugly URL from the wiki ;-)


sudo aptitude install sun-java5-bin    ( or just use synaptic )


sudo update-alternatives --config java 

and choose  the number for the "sun java " alternative

If you need the latest, do not use the RPM - use the extracting binary as
Gilles suggests - but that involves a bit more legwork than simply
enabling multiverse and installing the package I suggested.



ubuntu-users mailing list
ubuntu-users at
Modify settings or unsubscribe at:

Send instant messages to your online friends 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-users mailing list