From owner-freebsd-java@FreeBSD.ORG Thu Nov 13 04:00:49 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F178A16A4CE for ; Thu, 13 Nov 2003 04:00:49 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58BA843FBD for ; Thu, 13 Nov 2003 04:00:46 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by diomedes.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id hADC0iru020256 for ; Thu, 13 Nov 2003 14:00:44 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from hal.noc.ntua.gr (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id hADC0ioN073857 for ; Thu, 13 Nov 2003 14:00:44 +0200 (EET) (envelope-from past@noc.ntua.gr) From: Panagiotis Astithas Organization: NTUA/NMC To: java@freebsd.org Date: Thu, 13 Nov 2003 14:00:43 +0200 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200311131400.43869.past@noc.ntua.gr> Subject: jdk1.4.2 and cacerts problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 12:00:50 -0000 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