我正在尝试在Cent OS 7 VM中安装IBM Installation Manager。
我的安装文件保存在/opt/IM
目录中
我发出的命令是
./installc --launcher.ini silent-install.ini -log /opt/mylogfile.xml -acceptLicense
但是安装失败并显示以下错误消息
**JVM terminated. Exit code=13
/opt/IM//jre_7.0.8000.20141126_1221/jre/bin/java
-Xms40m
-Xmx1024m
-Xquickstart
-Xgcpolicy:gencon
-jar /opt/IM/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1446.jar
-os linux
-ws gtk
-arch x86_64
-launcher /opt/IM/installc
-name Installc
--launcher.library /opt/IM/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64 _1.1.200.v20120522-1813/eclipse_1502.so
-startup /opt/IM/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1446.jar
--launcher.appendVmargs
-exitdata 1d8003
-toolId isilentInstall
-accessRights admin
-silent input @osgi.install.area/install.xml
-log /opt/mylogfile.xml
-acceptLicense
-vm /opt/IM//jre_7.0.8000.20141126_1221/jre/bin/java
-vmargs
-Xms40m
-Xmx1024m
-Xquickstart
-Xgcpolicy:gencon
-jar /opt/IM/plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1446.jar**
我的JDK版本
Java version "1.7.0_75"
OpenJDK Runtime Environment (rhel-2.5.4.2.el7_0-x86_64 u75-b13)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
答案 0 :(得分:0)
您是否检查了出厂的Java运行时是否具有可执行位?我遇到了相同的错误,并且体系结构匹配,问题是缺少可执行文件位。重要的是将其应用于IM附带的Java版本,而不是系统范围的Java!您的输出似乎来自系统范围的Java,因为它是IM随附IBM JDK的OpenJDK:
# ./im/jre_7.0.100025.20180517_1135/jre/bin/java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr10fp25-20180430_01(SR10 FP25))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20180420_384915 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR10_20180420_1715_B384915
JIT - r11_20180420_384915
GC - R26_Java726_SR10_20180420_1715_B384915_CMPRSS
J9CL - 20010803_384915)
JCL - 20180427_01 based on Oracle jdk7u181-b09
可以在输出的-vm
参数中找到JVM路径。因此,请尝试
/opt/IM/jre_7.0.8000.20141126_1221/jre/bin/java -version
如果由于缺少可执行位而导致此操作不起作用,请使用chmod
添加它:
chmod +x /opt/IM/jre_7.0.8000.20141126_1221/jre/bin/java