jdk1.4.2 and cacerts problem

Panagiotis Astithas past at noc.ntua.gr
Thu Nov 13 04:00:50 PST 2003


It seems that the latest jdk1.4.2p5 still doesn't install the right cacerts 
file in jre/lib/security:

hal% find /usr/local/jdk1.4.2/ -name cacerts | xargs ls -l
-rw-r--r--  1 root  wheel  7910 13 Nov 03:17 /usr/local/jdk1.4.2/jre/javaws/
cacerts
-rw-r--r--  1 root  wheel    32 13 Nov 01:25 /usr/local/jdk1.4.2/jre/lib/
security/cacerts

hal% find /usr/local/jdk1.3.1/ -name cacerts | xargs ls -l
-rw-r--r--  1 root  wheel  7365  8 Oct 15:01 /usr/local/jdk1.3.1/jre/lib/
security/cacerts

hal% find /usr/local/linux-sun-jdk1.4.2/ -name cacerts | xargs ls -l
-rw-r--r--  1 root  wheel   7910 20 Aug 00:18 /usr/local/linux-sun-jdk1.4.2/
jre/javaws/cacerts
-r--r--r--  1 root  wheel  17648 19 Aug 23:56 /usr/local/linux-sun-jdk1.4.2/
jre/lib/security/cacerts


On a related note, the file /usr/local/jdk1.4.2/jre/plugin/desktop/
sun_java.desktop doesn't contain the actual path information in the Exec & 
Icon attributes:

hal% cat /usr/local/jdk1.4.2/jre/plugin/desktop/sun_java.desktop
[Desktop Entry]
Name=Java
Comment=Java Control Panel
Exec=INSTALL_DIR/JRE_NAME_VERSION/bin/ControlPanel
Icon=INSTALL_DIR/JRE_NAME_VERSION/plugin/desktop/sun_java.png
Terminal=0
Type=Application
Categories=Application;Settings

Now, I can see that this is the same behavior as in the linux version, but 
can't we be smarter here? Maybe do some sed-fu in pre-install?

Regards,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



More information about the freebsd-java mailing list