Manuel Wolfshant wrote on 06/03/2011 03:31 PM:
...
> - took advantage of the fact that jre creates a symlink named "latest":
>
>     [wolfy@wolfy ~]$ ll /usr/java/
>     total 4
>     lrwxrwxrwx. 1 root root   16 Mar  2 12:17 default -> /usr/java/latest
>     drwxr-xr-x. 7 root root 4096 Mar  2 12:18 jre1.6.0_23
>     lrwxrwxrwx. 1 root root   21 Mar  2 12:17 latest ->
>     /usr/java/jre1.6.0_23
>
> which can make upgrading much easier, as future versions of jre will
> update the symlink but this will not require tweaking the alternatives
> links.

Good addition!

Phil

_______________________________________________
CentOS-docs mailing list
CentOS-docs@centos.org
http://lists.centos.org/mailman/listinfo/centos-docs

Reply via email to