javax.smartcardio - javadocs
我正在学习 javax.smartcardio 课程。我正在使用 eclipse 3.6 并且我有 JDK 6 SE。我可以使用语句 import javax.smartcardio.* 或其任何单独的类,只要我更改首选项以警告或忽略禁止的引用。
我在 Java SE 6< 的标准文档中没有看到任何关于 javax.smartcardio 的提及/a> 并且 eclipse 中没有弹出 javadoc 帮助。我在此处找到了文档。
有没有办法将 Eclipse 链接到 smartcardio 的 javadoc?
I'm studying the javax.smartcardio classes. I'm using eclipse 3.6 and I have JDK 6 SE. I can use the statement import javax.smartcardio.* or any of its individual classes, as long as I change preferences to warn or ignore forbidden references.
I don't see any mention of javax.smartcardio in the standard documentation at Java SE 6
and no javadoc help pops up in eclipse. I have found docs here.
Is there a way of linking Eclipse to the javadocs for smartcardio?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我找到了一个关于它的网络日志(Konstantin Flitschew 博客(德语))。它是德语,但它对我有用,所以我在这里给出一个简短的翻译:
通过此设置,我能够访问 javax.smartcardio 的类。
I found a WebLog about it (Konstantin Flitschew WebLog (german)). It's in german but it worked for me, so I give a short translation here:
With this setting I was able to access the classes of javax.smartcardio.
我当时曾多次要求 Sun 将 javax.smartcardio 包含在文档中,但他们一直拒绝。现在,Windows 的 64 位 Java 版本 6/7 似乎没有 javax.smartcardio,并且访问规则排除了直接使用它的可能性。这很奇怪,因为 javax.smartcardio 似乎是一个接受的 JSR。
Sun 和 Oracle 在安全 API 方面并没有真正进行良好的沟通。它们的设计相对较好,但缺乏支持,并且确实引入了一些突然的功能。
[编辑]
虽然
javax.smartcardio
包是一个被接受的 JSR,但 Java 6 和 7 SE 的总括 JSR 不包含它。请参阅 java_se-fr-spec.zip了解更多信息(见下文)。 因此,javacardx.smartcardio
它不是 Java SE 标准 API 的一部分。现在,即使如果< /em> 它存在。并且您无法添加自己的版本,因为它可能存在于特定版本中。您可以使用 Eclipse 访问规则来启用 javax.smartcardio 并从“问题视图”中删除访问冲突。Oracle 的 Java 8 确实包含一个 javax.smartcardio 实现。您可能仍需要配置对其的访问。
I've asked Sun back in the day multiple times to include the javax.smartcardio in the documentation, but they have refused all the times. Now it seems that 64 bit Java version 6/7 for Windows do not have javax.smartcardio, and that the access rules rule out using it directly. This is pretty strange as javax.smartcardio seems to be an accepted JSR.
Sun and Oracle don't really communicate well regarding security API's. They are relatively well designed, but the support is lacking, and they do introduce features out of the blue.
[EDIT]
Although the
javax.smartcardio
package is an accepted JSR, the umbrella JSR's for Java 6 and 7 SE don't include it. See java_se-fr-spec.zip for more information (see below). Sojavacardx.smartcardio
it is not part of the Java SE standard API. Nowadays you may have trouble accessing the API even if it is present. And you cannot add your own as it may be present for a particular edition. You can use Eclipse access rules to enablejavax.smartcardio
and remove access violations from your "Problem view".Java 8 from Oracle does include an
javax.smartcardio
implementation. You may still have to configure access to it.Oracle 的 JDK 根本不包含
javax.smartcardio
的 javadoc。请改用OpenJDK。从 https://adoptopenjdk.net/ 安装 OpenJDK,然后使用
Window ->; 将其添加到 Eclipse 中。首选项-> Java->安装的 JRE
(在 Windows 中,您需要的路径类似于C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot
)。结果:Oracle's JDK does not contain the javadoc for
javax.smartcardio
at all. Use OpenJDK instead.Install OpenJDK from https://adoptopenjdk.net/, then add it in Eclipse using
Window -> Preferences -> Java -> Installed JREs
(in Windows the path you need looks likeC:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot
). The result:我的情况和你一样,但后来我发现了这个 http://intelligenzija.net/?q =节点/1
基本上,您需要在 IDE 中为这些类设置访问规则,以便可以使用它们。
I was in the same situation as you were but then I found this http://intelligenzija.net/?q=node/1
Basically you need to set Access rules for these classes in the IDE so you can use them.