# JCE error

Peter C. Landis (landis@miller.cs.uwm.edu)
Sun, 5 Jul 1998 12:33:01 -0500 (CDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: ghulam.abbas: "About the signed applets in Netscape 4.04"
- Previous message: Peter Landis: "JCE Error"
- Next in thread: Jan Luehe: "Re: JCE error"

    Date: Sun, 5 Jul 1998 12:33:01 -0500 (CDT)

    From: "Peter C. Landis" <landis@miller.cs.uwm.edu>

    To: java-security@java.sun.com

    Subject: JCE error

Dear Java-
I browsed your site and noticed the new JCE extension for JDK 1.2 beta,
so I downloaded the new JDK and JCE extension for installation. The JDK
installed just fine under WinNT 4.0. Then I tried to install the JCE
extension package. I followed the installation instructions, first setting
the classpath to the jce12-ea-dom.jar file ("set
CLASSPATH=C:\jdk1.2beta3\jce12-ea2-dom\lib\jce12-ea-dom.jar "). Then I
wanted to make sure that the classpath was set so I typed set and the list
showed the classpath set.
Second, I installed the SunJCE provider by going to
C:\jdk1.2beta3\lib\security and adding the following line
(security.provider.2=com.sun.crypto.provider.SunJCE).
After following the installation instructions, I tried to run a demo
script and received the following errors:

C:\Development\Orielly\files\Key Management\Shorts.java:4: Package
javax.crypto not found in import.
import javax.crypto.*;
^
C:\Development\Orielly\files\Key Management\Shorts.java:5: Package
javax.crypto.spec not found in import.
import javax.crypto.spec.*;
^
2 errors
Process completed with exit code 1

After this I tried the procedure all over and still received the following
errors. If you could help me narrow down the problem, it would be very
appreciated.

thanks,
_________________
|U U | Peter Landis
|U U W W W | University of Wisconsin Milwaukee
|UUUU W W W MMMMM | Computer Science
| WWWWW M M M |
| M M M | plandis@csd.uwm.edu
| | landis@cs.uwm.edu
|COMPUTER SCIENCE | http://www.csd.uwm.edu/~plandis
-----------------

- Next message: ghulam.abbas: "About the signed applets in Netscape 4.04"
- Previous message: Peter Landis: "JCE Error"
- Next in thread: Jan Luehe: "Re: JCE error"