[CentOS-docs] New page: HowTos/JavaRuntimeEnvironment

Fri Jun 3 20:00:06 UTC 2011
Phil Schaffner <Philip.R.Schaffner at NASA.gov>

Manuel Wolfshant wrote on 06/03/2011 03:31 PM:
...
> - took advantage of the fact that jre creates a symlink named "latest":
>
>     [wolfy at 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