"Robert J. Hansen" wrote:
> 
> Howdy, all.  Word from On High at work says that we're moving to Java
> for our work, which is causing this old C++ programmer a little bit of
> consternation.  But hey, spraining your brain is good exercise.  :)
> 
> The particular problem I'm facing is trying to get Sun's JCE to play
> nice with the Linux JDK-1.2.2RC4.  Right now, the JDK is installed in
> /usr/local; I untarred the JCE in /home/rjhansen.  It generated a jce1.2
> subdirectory, and down another level from that I found jce1_2-do.jar.
> 
> I set a CLASSPATH environment variable to point at
> /home/rjhansen/jce1.2/lib, but when I try and compile code using the
> sun.misc.* and javax.crypto.* packages, it tells me it can't find them.

The CLASSPATH needs to point at the actual jarfile, not the directory
it's in. Something like this:

    export CLASSPATH=/home/rjhansen/jce1.2/lib/jce1_2-do.jar
    javac ...

Nathan


> 
> Now, I'm doing something wrong here, obviously, but I don't for the life
> of me know what it is I'm doing wrong.  I couldn't find anything on the
> Linux Documentation Project about this problem, the newsgroups didn't
> turn up any help, and a quick browsing of the archives of this list
> didn't turn up anything, either.
> 
> So please, if you're going to flame about "RTFFAQ", keep in mind I've
> already tried other recourses.  :)
> 
> --
> Robert J. Hansen
> Senior Security Specialist, Exemplary Technologies
> [EMAIL PROTECTED] (work), [EMAIL PROTECTED] (home)
> OpenPGP Public Key available on request
> 
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to