indeed, the problem is that those classes are not contained in MS VM. However using the Java Plug-in instead of MS VM should work.
Did you configure your IE to work with JRE instead of MS VM?
-----Original Message-----
From: Venkatesan Krishnamoorthy [mailto:venkatesan_k_at_infosys.com]
Sent: Thursday, June 19, 2003 3:54 AM
To: webappsec_at_securityfocus.com
Subject: How to make Java Applets access java.security package classes
Guys:
I am writing an application where in I need to access the java.security package classes such as KeyStore, Signature etc inorder to perform digital signing of html form data. I am doing this using javascript and java applet communication though LiveConnect.
When I run the applet using appletviewer it runs just fine. But when I invoke it using the IE browser I get a "java.lang.NoClassDefFoundError: java/security/KeyStore". Could any of you tell me what I should do to make IE load the java.security package classes?
FYI, I have also tried Java plug-in installation, but still I get the same exception.
Thanks and Regards,
Venkat
Received on Jun 19 2003