admin管理员组文章数量:1533916
2024年5月16日发(作者:)
Page 1 of 9
Download, install and setup of IBM SDK for Java 8 in Linux
to run MQ Java/JMS client applications
/support/pages/node/6202414
Angel Rivera – *************.com
IBM MQ Support
+++ Objective
The objective of this tutorial is to show all the steps to download, install and setup IBM SDK
(Software Development Kit) for Java 8 in Linux (RHEL 7.6), in order to work with IBM MQ
Client applications that use Java or JMS.
For illustration purposes, the version MQ 9.1.5 CD (Continuous Delivery) will be used.
Why? Because it is the latest one at the time this tutorial is written.
In addition, it is important for you to see concrete real file names instead of using generic
file names.
Furthermore, a Linux x86 64-bit VM will be used and it is using RHEL 7.6:
+ROOT+ : /
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
The default installation directory will be used:
/opt/ibm/java-x86_64-80
+++ Which are the MQ requirements for working with Java applications?
If you have a Linux Host (physical server, VM, …) you will need to have 2 things in order to
run MQ Java/JMS Client applications:
a) MQ jar files
b) A Java Runtime Environment (JRE) or a Java Software Development Kit (SDK)
Date last updated: 27-Apr-2020
Page 2 of 9
+++ How to get the MQ jar files?
There are several methods for getting the MQ jar files:
1) You could install the rpm filesets for MQ, which are provided by downloading:
- The MQ Server package from IBM Passport Advantage
/support/pages/downloading-ibm-mq-version-915-continuous-
delivery
Downloading IBM MQ Version 9.1.5 Continuous Delivery
Part Number Description
CC0AGML IBM MQ V9.1.5 Continuous Delivery Release for Linux on x86 64-bit eImage
- The MQ Client package from IBM Fix Central
/mq91cdclients
MQ 9.1 Clients for CD and LTS (including Java-InstallRA, Install-Java-All, Redist)
You will download a file and after you unpack it, you will see several filesets.
The filesets of interest for this tutorial are:
MQSeriesJava-9.1.5-0.x86_ (REQUIRED)
MQSeriesJRE-9.1.5-0.x86_ (OPTIONAL)
1.a) What is the difference between the above filesets?
1.a.1) MQSeriesJava-9.1.5-0.x86_ (REQUIRED)
The *Java*.rpm fileset provides the MQ Classes for Java, the MQ Classes for JMS, binary
executables, utilities, etc.
You will need these files for compilation and runtime.
The following environment variables from the MQ utility “setmqenv” are set:
MQ_JAVA_INSTALL_PATH=/opt/mqm/java
MQ_JAVA_LIB_PATH=/opt/mqm/java/lib64
1.a.2) MQSeriesJRE-9.1.5-0.x86_ (OPTIONAL)
The *JRE*.rpm fileset provides a Java Runtime Environment.
It is an OPTIONAL component to install.
版权声明:本文标题:IBM SDK for Java 8 下载、安装和设置指南(Linux)以运行 IBM MQ Jav 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1715842429a473046.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论