java - Why am I getting package javax.crypto does not exist -
when compile class using javax.crypto.mac error message?
package javax.crypto not exist
i can prepare including jre/lib/jce.jar in compile classpath.
why jce.jar not on default jdk classpath? jre/lib/rt.jar on classpath, , includes other javax packages, jce seems special?
ok, error on part. ant file using compile code had attribute on javac
task:
bootclasspath="${java.home}/lib/rt.jar"
doh. can add together jce jar this:
bootclasspath="${java.home}/lib/rt.jar:${java.home}/lib/jce.jar"
java javax.crypto
No comments:
Post a Comment