java 获取 jert.jar、jnet.jar 和 jsse.jar?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5215641/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 10:00:34  来源:igfitidea点击:

Getting jert.jar, jnet.jar and jsse.jar?

java

提问by user291701

I'm trying to setup jetty 7 with ssl, part of the instructions say:

我正在尝试使用 ssl 设置 jetty 7,部分说明说:

make sure that jcert.jar, jnet.jar and jsse.jar are on your classpath

确保 jcert.jar、jnet.jar 和 jsse.jar 在您的类路径中

Where do we find those jars from? I'm running on mac 10.6. They don't seem to be part of my java installation, and not sure where to download them from otherwise,

我们从哪里找到这些罐子?我在 mac 10.6 上运行。它们似乎不是我的 java 安装的一部分,并且不知道从哪里下载它们,否则,

Thanks

谢谢

采纳答案by objects

jsse.jar should be in

jsse.jar 应该在

/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/jsse.jar

/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Classes/jsse.jar

Suspect the others are around there somewhere perhaps with different names

怀疑其他人在附近某处,也许名字不同

Think the JSSE has been bundled with the JDK since 1.4

认为 JSSE 从 1.4 开始就与 JDK 捆绑在一起了

回答by Amilcar

You can find those jars into:

您可以在以下位置找到这些罐子:

http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html#jsse-1.0.3_04-fcs-do-oth-JPR

http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-plat-419418.html#jsse-1.0.3_04-fcs-do-oth-JPR

  • Download: JSSE 1.0.3 - Global for CDC 1.0.2 Final Release
  • Extract the content and look into the path: jsse-1_0_3_03-for-cdc-1_0_2-bin_samples-gl\jsse-1_0_3_03-for-cdc-1_0_2-gl\cdc_jsse1.0.3_03\lib
  • 下载:JSSE 1.0.3 - CDC 1.0.2 最终版本的全局版本
  • 提取内容并查看路径:jsse-1_0_3_03-for-cdc-1_0_2-bin_samples-gl\jsse-1_0_3_03-for-cdc-1_0_2-gl\cdc_jsse1.0.3_03\lib

Regards

问候