When I compile a class using javax.crypto.Mac
I get this error message?
package
javax.crypto
does not exist
I can fix it by including jre/lib/jce.jar
in my compile classpath.
Why is jce.jar
not on the default jdk classpath? jre/lib/rt.jar
is on the classpath, and includes other javax
packages, but jce seems special?
jre/lib
path should be in your path anyways. If that was not included then you have not setup java properly on your machine. – Losel