I am trying to install IBM Installation Manager in a Cent OS 7 VM.
My Installation files are kept at /opt/IM directory
The command I issued is
./installc --launcher.ini silent-install.ini -log /opt/mylogfile.xml -acceptLicense
But the installation fails with the following error message
**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**
My JDK version
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)
Have you checked if the shipped Java runtime has the executable bit? I had the same error and the architectures matched, the problem was the missing executable bit. It's important to apply this on the Java version shipped by IM, not the system wide Java! Your output seems from the system-wide Java, since its an OpenJDK where IM ships IBM JDK:
# ./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
The JVM path could be found in the -vm argument of the output. So in your case, try
/opt/IM/jre_7.0.8000.20141126_1221/jre/bin/java -version
If this doesn't work because of the missing executable bit, add it using chmod:
chmod +x /opt/IM/jre_7.0.8000.20141126_1221/jre/bin/java
Related
Few Days ago I was able to open and Use my STS (Spring Tool Suite) on my linux mint 17 system. I also made sure that all the applications and java were of the 64 bit configuration.
Scenario happening: On Double Clicking the STS file a grey rectangular box pops up and then nothing happens. Tried installing new version but the result is the same.
Here is my java version and details:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
and here is the STS.ini file details, I have no idea why this is happening suddenly
`-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
--add-modules=ALL-SYSTEM
-Xms40m
-Dosgi.module.lock.timeout=10
-Xverify:none
-Xmx1200m`
Any help on the same will be helpful!!
This is my java version(on Debian 8 Jessie):
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
And after successful installation, I get this message and program doesn't launch:
JVM terminated. Exit code=1
/opt/jdk/jdk1.8/jre/bin/java
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-Duser.dir=/home/m/eclipse/java-neon/eclipse
-jar /home/m/eclipse/java-neon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/m/eclipse/java-neon/eclipse/eclipse
-name Eclipse
--launcher.library /home/m/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444/eclipse_1617.so
-startup /home/m/eclipse/java-neon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.appendVmargs
-exitdata 2a5001b
-product org.eclipse.epp.package.java.product
-vm /opt/jdk/jdk1.8/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
-Duser.dir=/home/m/eclipse/java-neon/eclipse
-jar /home/m/eclipse/java-neon/eclipse//plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
I have searched and tested many methods (for example installing java8-oracle) but it doesn't work at all!
Do not refer to /opt/jdk/jdk1.8/jre/bin/java directly. As it's a JDK, you should be using /opt/jdk/jdk1.8/bin/java.
Not sure if it is only issue, but UseStringDeduplication is available only from 8u20, while you are using 8u05. Please update java to latest available version - in addition to some new features, there is also a LOT of bugs fixes form early java 8 version, you don't want to be on receiving end of them.
I have recently had a similar problem for a version of Eclipse that has been running fine for years. I cut the -Xms (initial Java heap size) in half and Eclipse starts up again. I will wait along with you for a more intelligent solution.
I have Java 1.7.0...
$ java -version
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) Server VM (build 24.75-b04, mixed mode)
And Ubuntu 14.04.2 LTS, running KDE (Kubuntu). When I run ./carrot2-workbench-ubuntu I get...
Java HotSpot(TM) Server VM warning: You have loaded library /var/downloads/a/packages/carrot2-workbench-3.10.2/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
2015-08-03 20:01:08,984 INFO org.carrot2.workbench.core.WorkbenchCorePlugin: Changed instanceLocation to: file:/var/downloads/a/packages/carrot2-workbench-3.10.2/workspace/
2015-08-03 20:01:09,223 INFO org.carrot2.util.xslt.TemplatesPool: XSLT transformer factory: com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
After that I get a pop-up window that says the following:
JVM terminated. Exit code=13
/usr/lib/jvm/jdk1.7.0/bin/java
-Xms256m
-Xmx512m
-Dorg.eclipse.update.reconcile=false
-Dlog4j.configuration=log4j-workbench.xml
-jar /var/downloads/a/packages/carrot2-workbench-3.10.2/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /var/downloads/a/packages/carrot2-workbench-3.10.2/carrot2-workbench
-name Carrot2-workbench
--launcher.library /var/downloads/a/packages/carrot2-workbench-3.10.2/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /var/downloads/a/packages/carrot2-workbench-3.10.2/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.overrideVmargs
-exitdata 1af001e
-data #noDefault
-vm /usr/lib/jvm/jdk1.7.0/bin/java
-vmargs
-Xms256m
-Xmx512m
-Dorg.eclipse.update.reconcile=false
-Dlog4j.configuration=log4j-workbench.xml
-jar /var/downloads/a/packages/carrot2-workbench-3.10.2/plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
Can someone please help me decipher what's wrong? Thanks.
Thanks for reporting the issue (although the mailing list would be more convenient). I'll look into this.
http://issues.carrot2.org/browse/CARROT-1108
I have installed Java 1.8.0.25 JDK on OSX 10.10. When trying to open eclipse (64Bit) I get the following error message:
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
No Java virtual machine was found after searching the following
locations:
/Library/Java/JavaVirtualMachines/1.8.0.25.jdk/Contents/Home/bin/java
But when I check my paths all works fine...
export JAVA_HOME="$(/usr/libexec/java_home)"
export PATH=$PATH:$JAVA_HOME/bin
$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
$ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
$ /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/
Home/ MacOS/
$ /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/
bin/ db/ include/ jre/ lib/ man/
$ /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/
appletviewer jarsigner javafxpackager jcmd jhat jmc jstack keytool policytool schemagen unpack200
extcheck java javah jconsole jinfo jps jstat native2ascii rmic serialver wsgen
idlj javac javap jdb jjs jrunscript jstatd orbd rmid servertool wsimport
jar javadoc javapackager jdeps jmap jsadebugd jvisualvm pack200 rmiregistry tnameserv xjc
$ /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
$ ls /usr/bin/java
lrwxr-xr-x 1 root wheel 73B 11 Nov 16:56 /usr/bin/java -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
$ "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
I also edited (added the -vm option) the eclipse.ini as suggested in many other threads:
...
--launcher.defaultAction
openFile
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
-vmargs
...
But nothing works, I still get the above message. Did anyone have some idea how to fix this?
I've had same issue after installing new jdk (and removing old one). Solution was to fix the path to vm in the eclipse.ini
See also ENV Variable $JAVA_HOME and /usr/libexec/java_home
Try re/installing this: http://support.apple.com/kb/DL1572?viewlocale=en_US
I had the same problem. I suspect that it was because some of the Java infrastructure created by Apple was messed up on my mac. The executable restores them, but still pointed everything at the current JDK that I had installed previously.
I just downloaded Ubuntu 13.04 on my laptop, and I'm trying to run Eclipse. When I downloaded it and tried to run it, it told me to install JRE, so I did. But now it's showing this error:
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sam/Eclipse/eclipse//plugin/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/sam/Eclipse/eclipse//plugins/org.eclipse.platform_4.3.1.v20130911-1000/splash.bmp
-launcher /home/sam/Eclipse/eclipse/eclipse
-name Eclipse
--launcher.library /home/sam/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20130807-1835/eclipse_1506.so
-startup /home/sam/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.appendVmargs
-exitdata e5800c
-product org.eclipse.epp.package.standard.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/sam/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
I'm very new to Ubuntu and I'm not sure at all what is going on. Did something install incorrectly? Is something not installed?
Thanks in advance!
Looks like you are trying to run the 32 bit version of Eclipse with a 64 bit Java. You need to use the 64 bit version of Eclipse.
I tried to install Eclipse Standard 4.3.1 (from http://www.eclipse.org/downloads) on ArchLinux.
Here is the version of my java installation:
$ java -version
java version "1.7.0_40"
OpenJDK Runtime Environment (IcedTea 2.4.2) (ArchLinux build 7.u40_2.4.2-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b56, mixed mode)
...and got exactly the same error.