简体   繁体   English

在Windows上安装IBM JRE(非IBM机器)

[英]Installing IBM JRE on Windows (a non-IBM machine)

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队列,我有两个选择:

  1. Using IBM JRE 使用IBM JRE
  2. Using sun JRE, copying some IBM JRE's jars, setting some JVM properties, ... 使用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吗?

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/ 获取IBM JDK for Windows的“最简单的方法”可能来自这里:(但是没有支持) 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文件?

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. 从法律上讲 ,我不知道IBM JRE是否被许可自行使用或分发。 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产品(如WebSphere MQ或Rational工具之一)的一部分获得许可,这意味着您必须在安装JRE之前在机器上许可其他产品,并且您将使用其他产品的安装程序将JRE放到机器上。

Best to clear this latter question up with an IBM representative. 最好与IBM代表一起解决后一个问题。

I'm not sure if there is a free-to-download-and-distribute IBM JRE. 我不确定是否有免费下载和分发的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 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 GA license : 例如,这段摘录来自名为IBM Rational Application Developer for WebSphere Software 7.5.2 GA 许可证的简洁:

DISTRIBUTION OF JRE REDISTRIBUTABLES 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; 您可以将以下列出的软件(“JRE Redistributables”)仅与您的应用程序一起分发,并遵守以下条款:(1)您对JRE Redistributables的重新分发必须是目标代码,并且必须符合所有技术和用户指示随该计划提供; (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 (eg, desktops and servers) and not pervasive devices; (2)您的应用程序必须使用JRE可再发行组件重新分发此许可证中标识的其他可再发行组件,除非您的应用程序仅在一般计算机设备(例如,台式机和服务器)上运行,而不是在普及设备上运行; (3) You may not remove any copyright or notice files contained in the JRE Redistributables; (3)您不得删除JRE可再发行组件中包含的任何版权或通知文件; (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; (4)您将赔偿IBM或提供IBM产品的第三方(“第三方”)因使用或分发您的应用程序而引起的任何第三方索赔; (5) You may not use the same path name as the original files/modules; (5)您不能使用与原始文件/模块相同的路径名; (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; (6)未经IBM或第三方事先书面同意,您不得将IBM或第三方的名称或商标用于营销您的应用程序; and (7) IBM or Third Parties provide copies of these files or modules "AS IS," ie, You are responsible for all technical assistance for Your application. (7)IBM或第三方“按现状”提供这些文件或模块的副本,即您负责为您的应用程序提供所有技术帮助。

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. 在您与收件人的许可协议中,您将通知收件人这些文件或模块可能不是1)用于除启用您的应用程序之外的任何目的,2)复制(除备份目的),3)在没有您的情况下进一步分发应用程序或4)反向汇编,反向编译或以其他方式翻译。

The JRE Redistributables software can be found in the following directory on the installation media: 可以在安装介质上的以下目录中找到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软件许可证。

Yes you can download an IBM 1.5 JRE on a non-IBM windows machine. 是的,您可以在非IBM Windows机器上下载IBM 1.5 JRE。 Go here to download the IBM 1.5 SR9 JRE as a .pak file. 转到此处将IBM 1.5 SR9 JRE下载为.pak文件。 Simply rename it as a zip and unpack it. 只需将其重命名为zip并打开包装即可。

不..你不能,这个JRK / JDK是WebSphere Application Server的一部分,从法律上说你不能使用它,除非你购买了WAS的许可证并且该应用程序用于连接到WAS

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM