开发者

package sun.security.ec does not exist

I开发者_JS百科'm trying to use sun.security.ec module in Java on Win7. When trying to compile, it gives this error:

package sun.security.ec does not exist

Where does sun.security.* reside in terms of a .jar file? Where can I download the .jar file?


It is part of the JDK (at least JDK6 has it), should be in classes.jar (where java.lang.String is and almost everything else).

However, you should not be accessing these implementation-specific classes directly. You should be able to use this provider using the standard interfaces, such as java.security.spec.ECParameterSpec.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜