From owner-freebsd-java@FreeBSD.ORG Thu May 20 07:17:27 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 A237416A4CE for ; Thu, 20 May 2004 07:17:27 -0700 (PDT) Received: from inmeres.com (saturn.cwcs.co.uk [194.216.113.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9259243D1D for ; Thu, 20 May 2004 07:17:26 -0700 (PDT) (envelope-from adrian@inmeres.com) Received: from silkwebmain ([200.177.73.26]) by inmeres.com ; Thu, 20 May 2004 15:17:28 +0100 GMT From: "Adrian Portsmouth" To: Date: Thu, 20 May 2004 11:17:30 +0100 Organization: Inmeres Solutions Limited Message-ID: <000f01c43e53$aa6bb690$1a49b1c8@silkwebmain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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 Subject: 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: Thu, 20 May 2004 14:17:27 -0000 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=3Dfsalert%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 I have tried Googling for the error but it appears as though this is a generic error and it concentrates on the = "java.lang.NoClassDefFoundError" part of the message and doesn't kick much back for keytool so I am = assuming I am attempting to use this the wrong way. At the moment I am at a complete loss and would appreciate it if anyone could provide any advice as to how I should be using this tool or what I need to do to enable myself to learn and use it.=20 Kind Regards, Adrian =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Adrian Portsmouth Inmeres Solutions Ltd [e] adrian@inmeres.com [w] www.inmeres.com