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!!
Related
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 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
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
Ok, so I've been using eclipse Luna for a bit now with the Java 6 and all. Today, I decided it was time to update to Java 7. I did so by going to the Oracle site, downloading the Java 7 run time environment, and it said it would install. I let it install, but it told me that it detected previous versions of java (java 6) that it wanted to uninstall. I don't know a lot about the process and assumed it was fine and this probably isn't the problem anyway. But it installed, and when I tried to run things in eclipse, it gave me an error. So I restarted Eclipse. Suddenly, it wouldn't start giving me the error code 13. Then, I re installed Eclipse Luna. Now I get the same error and am worried I totally screwed up my Java. Can you help? I can also post the error report it gives me.
Java was started but returned exit code=13
C:/ProgramData/Oracle/Java/javapath/Javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-jar
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32x86_64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os win32
-ws win32
-arch x86_64
-showsplash
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.platform_4.4.2.v20150204-1700/splash.bmp
-launcher
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse/eclipse.exe
-name Eclipse
--launcher.library
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.equinox.launcher.win32.x86_64_1.1.200.v20150204-1316/eclipse_1608.dll
-startup
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 2b0_5c
-product org.eclipse.epp.package.java.product
-vm C:/ProgramData/Oracle/Java/javapath/javaw.exe
-vmargs
-Dogsi.requiredJavaVersion=1.6
Xms40m
-Xmx512m
-jar
C:/Users/Jared/Downloads/eclipse-java-luna-SR2-win32-x86_64/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
If I check my java version via command prompt, it looks like this:
C:\Users\Jared>java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Client VM (build 25.31-b07, mixed mode)
I have minimal knowledge on this process however, if my educated guess is right, Luna is based on 1.6-1.7 and since I apparently have 1.8.0_31, I need a more updated version.
If you know how to help, please explain thoroughly, so I can understand as much as possible
Thanks in advance
-Jared.
You should also install correct JDK version.
I recently downloaded eclipse for RCP and RAP developers. I am running OSX 10.5.8, and when I tried running eclipse i got the error "Version 1.5.0_30 of the JVM is not suitable for this product. 1.6 or greater is required". I went to utilities then java preferences and made sure that Java SE 6 was at the top of the preferred order list, it was not so I moved it up. I verified my system was pointing to the correct version
user-Macbook-Pro:~ user$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03-384-9M3425)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-384, mixed mode)
however i still get the same error when trying to open eclipse. Any suggestions? Thank you for the help
It starts working after I modified eclipse.ini like below and added
-vm C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.7.0_45\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M