Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2004 19:18:11 +0300
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        adrian@inmeres.com
Cc:        freebsd-java@freebsd.org
Subject:   Re: Java Keytool Assistance
Message-ID:  <40ACDA43.5070403@noc.ntua.gr>
In-Reply-To: <000f01c43e53$aa6bb690$1a49b1c8@silkwebmain>
References:  <000f01c43e53$aa6bb690$1a49b1c8@silkwebmain>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40ACDA43.5070403>