Java Keytool Assistance

Adrian Portsmouth adrian at inmeres.com
Thu May 20 18:27:48 PDT 2004


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 at inmeres.com
[w] www.inmeres.com

-----Original Message-----
From: Panagiotis Astithas [mailto:past at noc.ntua.gr] 
Sent: 20 May 2004 17:18
To: adrian at inmeres.com
Cc: freebsd-java at 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



More information about the freebsd-java mailing list