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

Ghodmode ghodmode at ghodmode.com
Wed May 2 15:26:40 UTC 2007


On 5/3/07, John L Fjellstad <john-ubuntu at fjellstad.org> wrote:
>
> Ghodmode <ghodmode at ghodmode.com> writes:
>
> > When you have found the right one, just make sure it's the first one
> > available in your path.  I think you'll find that the one in the path is
> a
> > symbolic link.  So, you just need to change where that symbolic link
> points
> > to.
>
> You don't want to change the manually. You want to use the alternative
> system to change it.  The alternative system (using update-alternatives)
> will not only change the binary of the one you asking for, but also the
> manual pages and associated files.
>
> So, for Java, it will not just point /usr/bin/java to the version you
> want, but it will also update the javac, jar etc links, but also the
> associated manual pages to those files


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?

Thanks,
    Vince

--
> John L. Fjellstad
> web: http://www.fjellstad.org/          Quis custodiet ipsos custodes
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070503/2e370663/attachment.html>


More information about the ubuntu-users mailing list