On Monday 06 December 2004 20:07, Andrew M wrote:
> typing the following:
>
> $ java -D javax.net.ssl.trustStore =
> /library/java/home/lib/security/cacert
>
> gives me the following error message
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/net/ssl/trustStore
>
> How do I resolve this issue?
There should be no space between "-D" and "javax.net.ssl.trustStore".
Likewise for the equal sign: there should be no space on either side of it.
Like so:
java -Djavax.net.ssl.trustStore=/library/java/home/lib/security/cacert