[CentOS-docs] New page: HowTos/JavaRuntimeEnvironment
Phil Schaffner
Philip.R.Schaffner at NASA.gov
Fri Jun 3 16:00:06 EDT 2011
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
More information about the CentOS-docs
mailing list