Re: Getting JCE to work

Jan Luehe (Jan.Luehe@Eng)
Thu, 26 Feb 1998 10:33:42 -0800 (PST)

Date: Thu, 26 Feb 1998 10:33:42 -0800 (PST)
From: Jan Luehe <Jan.Luehe@Eng>
Subject: Re: Getting JCE to work
To: java-security@web1.javasoft.com, AChowdappa@aol.com

> I have installed JCE1.2 as per instructions and included the path for the
> jar file in the CLASSPATH variable (win 95). I have also statically registered
> the cryptography provider. My references to the classes defined in
> javax.crypto.* packages are not being resolved by the compiler. I have made
> sure the path is sourced etc. I have missed any steps ?
>
> Any help is appreciated.
>
> -Thanks,
> -Ash.

The installation instructions state that the name of the JCE jar
file is "jce12-ea-dom.jar", not "jce12-ea.jar". :-)

Set your CLASSPATH accordingly, and everything should work.

Jan

-----------------------------------------------------------------

> Here are the two lines of code you requested
> -Ash.
> =========
> set CLASSPATH=c:\jce12-ea-
> dom\lib\jce12-ea.jar;c:\jdk1.2beta2\bin\;c:\jdk1.2beta2\lib\;
>
> security.provider.1=com.sun.crypto.provider.SunJCE