[csw-maintainers] Java... again!

Trygve Laugstøl trygvel at opencsw.org
Sat Nov 15 19:42:40 CET 2008


Dagobert Michelsen wrote:
> Hi James,
> 
> Am 08.11.2008 um 17:06 schrieb James Lee:
>> On 08/11/08, 15:40:29, Dagobert Michelsen <dam at opencsw.org> wrote  
>> regarding
>> Re: [csw-maintainers] Java... again!:
>>
>>>   jdk5-1.5.0_15,REV=2008.11.08-SunOS5.8-i386-CSW.pkg.gz
>>>   jdk5-1.5.0_15,REV=2008.11.08-SunOS5.8-sparc-CSW.pkg.gz
>>>   jdk6-6u7,REV=2008.11.08-SunOS5.8-i386-CSW.pkg.gz
>>>   jdk6-6u7,REV=2008.11.08-SunOS5.8-sparc-CSW.pkg.gz
>> Latest 1.5 is Update 16
>> http://java.sun.com/javase/downloads/index_jdk5.jsp
>>
>> The latest 1.6 is Update 10.
>> http://java.sun.com/javase/downloads/index.jsp
> 
> I got them from the archive page. Who can imagine
> archived versions would be old? Me??? Oh well...
> Heres some warmed up Java in
>    <http://buildfarm.opencsw.org/testing.html>:
> 
> jre13-1.3.1_22,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jre13-1.3.1_22,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> jre14-1.4.2_17,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jre14-1.4.2_17,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> jre5-1.5.0_16,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jre5-1.5.0_16,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> jre6-1.6.0_10,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jre6-1.6.0_10,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> 
> jdk13-1.3.1_22,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jdk13-1.3.1_22,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> jdk14-1.4.2_17,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jdk14-1.4.2_17,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> jdk5-1.5.0_16,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jdk5-1.5.0_16,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> jdk6-1.6.0_10,REV=2008.11.09-SunOS5.8-i386-CSW.pkg.gz
> jdk6-1.6.0_10,REV=2008.11.09-SunOS5.8-sparc-CSW.pkg.gz
> 
>> It identifies itself:
>>
>> $ java -version
>> java version "1.6.0_10"
>> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
>> Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
>>
>> So why use break the pattern of naming, I'd expect the package to be
>> identified similarly as "1.6.0_10".
> 
> I should never have followed marketing numbers. The package
> now identified itself with the technical version number.
> 
> James, do you mind testing these?

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

  * 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

--
Trygve




More information about the maintainers mailing list