在 Windows(非 IBM 机器)上安装 IBM JRE
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1620783/
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
Installing IBM JRE on Windows (a non-IBM machine)
提问by Ahmad Y. Saleh
I'm developing a Java 5.0 application that connects to Websphere Application Server default messaging queues.
我正在开发一个连接到 Websphere Application Server 默认消息队列的 Java 5.0 应用程序。
My application will be deployed on Windows server (with sun JDK installed by default), in order to connect to the Websphere queues I have two choices:
我的应用程序将部署在 Windows 服务器上(默认安装了 sun JDK),为了连接到 Websphere 队列,我有两个选择:
- Using IBM JRE
- Using sun JRE, copying some IBM JRE's jars, setting some JVM properties, ...
- 使用 IBM JRE
- 使用 sun JRE,复制一些 IBM JRE 的 jar,设置一些 JVM 属性,......
The idea is, the second choice was painful, I'm trying to go with the first choice.
这个想法是,第二个选择是痛苦的,我试图选择第一个。
My question is: can I install an IBM JRE 5.0 on a non-IBM windows machine?
我的问题是:我可以在非 IBM Windows 机器上安装 IBM JRE 5.0 吗?
采纳答案by Cheeso
There are two "answers".
有两个“答案”。
Technically, yes, it's possible and it works no problem.
Legally, I don't know if the IBM JRE is licensed for use or distribution by itself. It was my impression that it was licensed only as part of another IBM product (like WebSphere MQ, or one of the Rational tools), which would mean you would have to license the other product on the machine before installing the JRE, and you would use the installer for the other produce to get the JRE onto the machine.
从技术上讲,是的,这是可能的,并且没有问题。
从法律上讲,我不知道 IBM JRE 是否获得了使用或分发的许可。我的印象是它仅作为另一个 IBM 产品(如 WebSphere MQ 或其中一个 Rational 工具)的一部分获得许可,这意味着您必须在安装 JRE 之前获得机器上的其他产品的许可,并且您将使用其他产品的安装程序将 JRE 安装到机器上。
Best to clear this latter question up with an IBM representative.
最好与 IBM 代表一起解决后一个问题。
回答by Thorbj?rn Ravn Andersen
The reason the IBM JVM is so hard to get hold of is most likely that they want you to pay some money for it.
IBM JVM 如此难以掌握的原因很可能是他们希望您为它支付一些钱。
The "Easiest Way" to get a IBM JDK for Windows is probably from here: (but that is without support) https://www.ibm.com/developerworks/java/jdk/eclipse/
获取适用于 Windows 的 IBM JDK 的“最简单方法”可能来自这里:(但不支持)https://www.ibm.com/developerworks/java/jdk/eclipse/
Edit: Do the product you want to connect to not include a set of client jar files you just need to add to your application?
编辑:您要连接的产品是否不包含您只需要添加到应用程序中的一组客户端 jar 文件?
回答by McDowell
I'm not sure if there is a free-to-download-and-distribute IBM JRE. There are certainly IBM Win32 JREs that are not tied to IBM PCs and if you own certain IBM products, you can redistribute the JRE as per their terms.
我不确定是否有免费下载和分发的 IBM JRE。当然,有些 IBM Win32 JRE 与 IBM PC 无关,如果您拥有某些 IBM 产品,则可以根据其条款重新分发 JRE。
For example, this excerpt comes from the pithily titled IBM Rational Application Developer for WebSphere Software 7.5.2 GAlicense:
例如,此摘录来自标题简洁的IBM Rational Application Developer for WebSphere Software 7.5.2 GA许可:
DISTRIBUTION OF JRE REDISTRIBUTABLES
You may distribute the software listed below (the "JRE Redistributables") only in conjunction with Your application and subject to the following terms: (1) Your redistribution of the JRE Redistributables must be in object code and must comply with all technical and user directions provided with the Program; (2) Your application must redistribute other Redistributables identified in this license with the JRE Redistributables unless Your application is designed to run only on general computer devices (e.g., desktops and servers) and not pervasive devices; (3) You may not remove any copyright or notice files contained in the JRE Redistributables; (4)You will indemnify IBM or third parties that provide IBM products ("Third Parties") from and against any third party claim arising out of the use or distribution of Your application; (5) You may not use the same path name as the original files/modules; (6) You may not use IBM's or Third Parties' names or trademarks in connection with the marketing of Your applications without IBM's or Third Parties' prior written consent; and (7) IBM or Third Parties provide copies of these files or modules "AS IS," i.e., You are responsible for all technical assistance for Your application.
In Your license agreement with the recipient, You will notify the recipient that these files or modules may not be 1) used for any purpose other than to enable Your application, 2) copied (except for backup purposes), 3) further distributed without Your application or 4) reverse assembled, reverse compiled, or otherwise translated.
The JRE Redistributables software can be found in the following directory on the installation media:
/jdk/jre
JRE 可再发行文件的分发
您只能与您的应用程序一起分发下面列出的软件(“JRE Redistributables”),并遵守以下条款:(1) 您对 JRE Redistributables 的再分发必须是目标代码,并且必须遵守所有技术和用户指示随程序提供;(2) 您的应用程序必须与 JRE Redistributables 一起重新分发本许可中标识的其他可再分发程序,除非您的应用程序设计为仅在通用计算机设备(例如台式机和服务器)上运行而不是在普及设备上运行;(3) 您不得删除 JRE Redistributables 中包含的任何版权或通知文件;(4) 您将赔偿 IBM 或提供 IBM 产品的第三方(“第三方” ) 因使用或分发您的应用程序而引起的任何第三方索赔;(5) 您不得使用与原始文件/模块相同的路径名;(6) 未经 IBM 或第三方事先书面同意,您不得在营销您的应用程序时使用 IBM 或第三方的名称或商标;(7) IBM 或第三方“按原样”提供这些文件或模块的副本,即您负责为您的应用程序提供所有技术支持。事先书面同意;(7) IBM 或第三方“按原样”提供这些文件或模块的副本,即您负责为您的应用程序提供所有技术支持。事先书面同意;(7) IBM 或第三方“按原样”提供这些文件或模块的副本,即您负责为您的应用程序提供所有技术支持。
在您与接收方的许可协议中,您将通知接收方这些文件或模块不得 1) 用于启用您的应用程序以外的任何目的,2) 复制(备份目的除外),3) 在没有您的情况下进一步分发应用程序或 4) 反向组装、反向编译或以其他方式翻译。
JRE Redistributables 软件可以在安装介质的以下目录中找到:
/jdk/jre
You can lookup/search IBM software licenses at http://www.ibm.com/software/sla/sladb.nsf.
您可以在http://www.ibm.com/software/sla/sladb.nsf 上查找/搜索 IBM 软件许可证。
回答by ktbiz
回答by Thomas
no .. you cannot, this JRK/JDK is part of WebSphere Application Server, legally you cannot use it unless you purchased the license of WAS and the application is used to connect to the WAS
不.. 你不能,这个 JRK/JDK 是 WebSphere Application Server 的一部分,你不能合法地使用它,除非你购买了 WAS 的许可证并且应用程序被用来连接到 WAS