[csw-maintainers] Java... again!

Dagobert Michelsen dam at opencsw.org
Sat Nov 15 23:52:11 CET 2008


Hi Trygve,

Am 15.11.2008 um 19:42 schrieb Trygve Laugstøl:
> Some comments:
>
>  * Can the JDKs be installed under /opt/csw/jdk to reduce the /opt/csw
> clutter. That also more similar to how it is installed under /usr

Sure.

>  * I like the way Sun does it with their "instances". If my package
> depend on Java 5 or 6 I would like to default the JDK path to
> /opt/csw/jdk/instance/jdk1.5.0.
>
> $ ls -l /usr/jdk /usr/jdk/instances/
> /usr/jdk:
> total 10
> drwxr-xr-x   4 root     bin          512 Feb 29  2008 instances
> lrwxrwxrwx   1 root     other         18 Nov  5 16:30 jdk1.5.0_16 ->
> instances/jdk1.5.0
> lrwxrwxrwx   1 root     other         18 Nov  5 16:43 jdk1.6.0_10 ->
> instances/jdk1.6.0
> lrwxrwxrwx   1 root     other         11 Nov  5 16:43 latest ->  
> jdk1.6.0_10
> drwxr-xr-x   7 root     bin          512 Nov  5 16:46 packages
>
> /usr/jdk/instances/:
> total 4
> drwxr-xr-x   9 root     bin          512 Nov  5 16:49 jdk1.5.0
> drwxr-xr-x   9 root     bin          512 Nov  5 16:51 jdk1.6.0

But why /usr/jdk/instances/jdkxxx instead of /usr/jdk/jdkxxxx?
Why is there the symlink?

And: Should this also be true for JREs?


Best regards

   -- Dago


More information about the maintainers mailing list