package test;
/** * * @author Ortwin Glück */ public class Test {
public Test() { try { Class.forName("javax.crypto.CipherSpi"); } catch (ClassNotFoundException e) { e.printStackTrace(); } System.out.println("ok"); }
public static void main(String[] args) { new Test(); } }
Rowe, David (CAG-CC MIS) wrote:
Well, on that note, I have a check at the beginning of my program that simply checks for the existence of javax.crypto.CipherSpi using:
Class.forName("javax.crypto.CipherSpi");
Which shouldn't throw a ClassNotFound Exception if it exists, but if I remove jce.jar from the class path, it throws the exception.
Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]