Java Keytool Assistance

Panagiotis Astithas past at noc.ntua.gr
Thu May 20 09:18:14 PDT 2004


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


More information about the freebsd-java mailing list