Very confused as to what version of Java is in Feisty;(

Derek Broughton news at
Tue May 8 12:53:12 UTC 2007

NoOp wrote:

> On 05/07/2007 08:05 AM, Derek Broughton wrote:
>> NoOp wrote:
>>> On 05/02/2007 02:44 PM, John L Fjellstad wrote:
>>>> Ghodmode <ghodmode at> writes:
>>>>> I didn't know about the alternatives system.  I changed all of those
>>>>> links manually.  I see from Scott's example how to update it to point
>>>>> at a package.  How would I do it for a JDK that I installed manually?
>>>> Check out the manual page for update-alternatives.
>> For java, update-java-alternatives is better - it handles _all_ the java
>> alternatives (vm, compiler, keytool, jarsigner, plugins, etc.).
> I think that you have the attributes wrong... I didn't write any of
> that. However in my 05/03 msg I did write:

The attributes are fine - everything's attributed at the correct level,
there just isn't anything left of what you wrote.  I could have left off
the attribution to you, sorry.

>> So, I used:
>> sudo update-java-alternatives -a
>> (-a for auto) and now it shows up properly:

Yeah, it's agreement not argument.  update-alternatives is important, but
update-java-alternatives saves a lot of hassle.

More information about the ubuntu-users mailing list