From owner-freebsd-java@FreeBSD.ORG Thu May 20 09:18:14 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 5582216A4CE for ; Thu, 20 May 2004 09:18:14 -0700 (PDT) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52D4E43D46 for ; Thu, 20 May 2004 09:18:13 -0700 (PDT) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) i4KGIBl2062956; Thu, 20 May 2004 19:18:11 +0300 (EEST) (envelope-from past@noc.ntua.gr) Received: from [147.102.220.45] (hal.noc.ntua.gr [147.102.220.45]) by ajax.noc.ntua.gr (8.12.11/8.12.11) with ESMTP id i4KGIBe6027596; Thu, 20 May 2004 19:18:11 +0300 (EEST) (envelope-from past@noc.ntua.gr) Message-ID: <40ACDA43.5070403@noc.ntua.gr> Date: Thu, 20 May 2004 19:18:11 +0300 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla Thunderbird 0.6 (X11/20040510) X-Accept-Language: en-us, en MIME-Version: 1.0 To: adrian@inmeres.com References: <000f01c43e53$aa6bb690$1a49b1c8@silkwebmain> In-Reply-To: <000f01c43e53$aa6bb690$1a49b1c8@silkwebmain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Java Keytool Assistance 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, 20 May 2004 16:18:14 -0000 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