Installing Java on Ubuntu 8.04
derek at pointerstop.ca
Tue Sep 22 01:38:45 BST 2009
Andrew Farris wrote:
> On Mon, 2009-09-21 at 20:43 -0300, Valter Nogueira wrote:
>> I would like to install lastest Sun Java SDK - which includes JavaFX
>> at my Ubuntu box.
>> It would be great if the Java installation became system wide.
> run "sudo update-alternatives --config java" after unpacking the JRE
> into the appropriate directory (see below).
Use update-java-alternatives rather than update-alternatives. It changes
more than one alternative (java, javac and one or two others). In the
specific instance - since he's installing the SDK, your instruction won't
actually help get the right compiler.
More information about the ubuntu-users