# Signed applet: java.lang.ExceptionInInitializerError

Nguyen Dinh Van Linh (linh@cqs.ch)
Wed, 24 Sep 1997 12:05:51 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Chris Goodall: "JCE Public Key Encryption HELP!"
- Previous message: Liu Jian: "Where to get JCE source?"

    Date: Wed, 24 Sep 1997 12:05:51 +0200

    From: Nguyen Dinh Van Linh <linh@cqs.ch>

    To: java-security@java.eng.sun.com

    Subject: Signed applet: java.lang.ExceptionInInitializerError

Hi,

I tried to do the example of signed applets at
http://java.sun.com/security/signExample. I got the following:
step1:
mydir/javakey -cs Duke true
Created identity [Signer]Duke[mydb.obj ][trusted]
step2:
mydir/javakey -gk Duke DSA 512 Duke_pub Duke_priv
java.lang.ExceptionInInitializerError
at java.security.Security.getImpl(Security.java)
at
java.security.KeyPairGenerator.getInstance(KeyPairGenerator.java:162)
at sun.security.provider.Main.generateKeyPair(Main.java:991)
at sun.security.provider.Main.generateCmd(Main.java:716)
at sun.security.provider.Main.run(Main.java:1376)
at sun.security.provider.Main.main(Main.java:1405)

I'm using jdk1.1.3 installed on platform Unix: SPARC Solaris 2.5.1.

Many thanks for your help and advises.

Linh

- Next message: Chris Goodall: "JCE Public Key Encryption HELP!"
- Previous message: Liu Jian: "Where to get JCE source?"