我在哪里可以带 com.ms.* 包来构建
我正在尝试构建 mS-java 兼容的小程序,并且我引用了 com.ms.* 中的类。 但我找不到所需的库。
I'm trying to build mS-java compatible applet and I have references to classes in com.ms.*.
But I can't find the required libraries.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
它们是旧版 Microsoft Java SDK 的一部分,现已不再可用。
我认为获得 com.ms.* 软件包的唯一方法是获得旧的 Microsoft J++ 光盘集。当然,他们不再出售这些产品,但您可以在 eBay 上找到一些。
我强烈建议不要使用 J++ 库,包括 com.ms.*。它们不受支持、已被弃用,并且您将不再可以在网上找到它们的文档。此外,考虑到 Microsoft 与 Sun 签订了淘汰 J++ 的法律协议,使用或销售用 J++ 构建的软件的合法性可能存在问题。
They're part of the old Microsoft Java SDK, which is no longer available.
I think the only way to get your hands on the com.ms.* packages is by getting your hands on an old Microsoft J++ disc set. They don't sell those anymore, of course, but you can find some on ebay.
I would strongly recommend not using the J++ libraries, including com.ms.*. They're not supported, deprecated, and you won't find documentation online for them anymore. Also, there might be a questionable legality of using or selling software built with J++, given Microsoft's legal agreement with Sun to retire J++.
我找到了一个解决方案,我将在此处添加该解决方案以供后代使用。经过大量搜索,我发现了这个: http://www.jguru.com/faq /view.jsp?EID=286826。简而言之,解决方案是查看 Windows 注册表,了解 Microsoft Java VM 默认使用的类路径。事实证明,奖品隐藏在
c:\WINNT\Java\Classes\classes.zip
中(显然,您像任何其他 Jar 一样将其包含在类路径中)。当我将该 zip 文件添加到我的项目类路径时,我所有的 com.ms.* 依赖项都已解决!请注意,我的类路径中已经有c:\WINNT\Java\Classes
。(@Judah 有时你必须使用遗留代码,而你别无选择,只能使用古老的库......)
I found a solution, which I am going to add here for posterity. After much searching, I found this: http://www.jguru.com/faq/view.jsp?EID=286826. In short, the solution was to go look in the Windows registry to see what classpath Microsoft Java VM uses by default. It turned out that the prize was hidden in
c:\WINNT\Java\Classes\classes.zip
(which you obviously include in the classpath like any other Jar). When I added that zip file to my project classpath, all my com.ms.* dependencies were resolved! Note that I already hadc:\WINNT\Java\Classes
in my classpath.(@Judah Sometimes you have to work with legacy code and you have little choice but to use ancient libraries...)