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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…