JCE Error

Peter Landis (plandis@csd.uwm.edu)
Sun, 5 Jul 1998 12:33:27 -0500

From: "Peter Landis" <plandis@csd.uwm.edu>
To: <java-security@java.sun.com>
Subject: JCE Error
Date: Sun, 5 Jul 1998 12:33:27 -0500

This is a multi-part message in MIME format.

------=_NextPart_000_0004_01BDA811.1C0DAA90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Dear Java-
=20
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=3DC:\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.=20
Second, I installed the SunJCE provider by going to =
C:\jdk1.2beta3\lib\security and adding the following line
(security.provider.2=3Dcom.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 appreciative.

thanks,
landis@cs.uwm.edu

------=_NextPart_000_0004_01BDA811.1C0DAA90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">

Dear Java-
        =
    I browsed your site and noticed = the new JCE=20 extension for JDK 1.2 beta, so I downloaded the new JDK and JCE = extension for=20 installation.  The JDK installed just fine under WinNT 4.0.  = Then I=20 tried to install the JCE extension package.  I followed the = installation=20 instructions, first setting the classpath to the jce12-ea-dom.jar file=20 ("set CLASSPATH=3DC:\jdk1.2beta3\jce12-ea2-dom\lib\jce12-ea-dom.jar = ").  Then I wanted to make sure that the classpath was set so = I typed=20 set and the list showed the classpath set. 
Second, I installed the SunJCE provider by going to=20 C:\jdk1.2beta3\lib\security and adding the following line
(security.provider.2=3Dcom.sun.crypto.provider.SunJCE).
After following the installation instructions, I tried to run a = demo=20 script and received the following errors:
 
C:\Development\Orielly\files\Key = Management\Shorts.java:4:=20 Package javax.crypto not found in import.
import=20 javax.crypto.*;
      =20 ^
C:\Development\Orielly\files\Key Management\Shorts.java:5: Package=20 javax.crypto.spec not found in import.
import=20 javax.crypto.spec.*;
       ^
2=20 errors
Process completed with exit code 1
 
 
After this I tried the procedure all over and still = received=20 the following errors.  If you could help me narrow down the = problem, it=20 would be very appreciative.
 
thanks,
landis@cs.uwm.edu
 <= /DIV>
 
------=_NextPart_000_0004_01BDA811.1C0DAA90--