From owner-freebsd-java@FreeBSD.ORG Thu May 20 18:27:47 2004 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 ED3E216A4CE for ; Thu, 20 May 2004 18:27:47 -0700 (PDT) Received: from inmeres.com (saturn.cwcs.co.uk [194.216.113.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 262E743D54 for ; Thu, 20 May 2004 18:27:47 -0700 (PDT) (envelope-from adrian@inmeres.com) Received: from silkwebmain ([200.177.73.54]) by inmeres.com ; Fri, 21 May 2004 02:27:49 +0100 GMT From: "Adrian Portsmouth" To: "'Panagiotis Astithas'" Date: Thu, 20 May 2004 22:27:51 +0100 Organization: Inmeres Solutions Limited Message-ID: <000201c43eb1$5009f5a0$3649b1c8@silkwebmain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Importance: Normal In-Reply-To: <40ACDA43.5070403@noc.ntua.gr> cc: freebsd-java@freebsd.org Subject: RE: Java Keytool Assistance X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: adrian@inmeres.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 01:27:48 -0000 Dear Panagiotis, Thank you for your reply which of course worked a treat, I could have sworn I attempted that but I have a feeling I didn't use the path, just cd'd into the directory and tried the command alone. But it worked as you presented and I am now off and rolling again. Much Appreciated. Kind Regards, Adrian ============================================ Adrian Portsmouth Inmeres Solutions Ltd [e] adrian@inmeres.com [w] www.inmeres.com -----Original Message----- From: Panagiotis Astithas [mailto:past@noc.ntua.gr] Sent: 20 May 2004 17:18 To: adrian@inmeres.com Cc: freebsd-java@freebsd.org Subject: Re: Java Keytool Assistance Adrian Portsmouth wrote: > Hi Everyone, > > I have FreeBSD 4.7-RELEASE-p22 installed on my server and I have today > been installing Java. Due to the version of BSD I can only use up to > Java Version 1.3.1 so I have set out installing that following a > variety of instructions through the ports tree. > > This is installed and appears to be working fine as I have installed a > java class from a client and it runs as expected. > > I am now however trying to update my cacerts due to the following > issue discussed at this URL: > http://sunsolve.sun.com/pub-cgi/retrieve.pl?doc=fsalert%2F57436 > > It gives some instructions which relate to the 'keytool' which I have > never heard of before today. I have tried running this keytool command > from the command prompt as it appears to suggest and it comes back > stating command not found. I then try running: > > /usr/local/jdk1.3.1/jre/bin/java keytool > > Which then comes back with: > > Exception in thread "main" java.lang.NoClassDefFoundError: keytool Try /usr/local/jdk1.3.1/bin/keytool or /usr/local/jdk1.3.1/jre/bin/keytool instead. Keytool is a binary program not a class file. Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece