Eclipse Birt JVM Terminated Exit code = -1 - eclipse

I downloaded birt-report-designer-all-in-one-2_5_0.
enviornment is windows 7, 8gb memory, 64bit OS and jdk1.6.0_45(64 bit)
But while launching , throwing this error
My eclipse.ini is
-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
-vmargs
-Xms512m
-Xmx1024m
-vm D:\java\jdk1.6.0_45\bin\javaw.exe
Note: the same eclipse which is working perfectly fine in my colleague's machine(with exactly same configuration)
Does anyone have other possible solutions?

This is fixed by installing 32 bit jdk 1.6 (uninstall 64 bit jdk)and pointing JAVA_HOME to this installed folder

Related

STS.ini can't set heap more than 1024m (Eclipse configuration)

this is my sts.ini
-vm
C:/Program Files (x86)/Java/jdk1.6.0_24/bin/javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
com.springsource.sts.ide
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
584M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xmn128m
-Xms256m
-Xmx1024m
-Xss1m
-XX:PermSize=128m
-XX:MaxPermSize=584m
My STS(Spring Tool Suite) is keep falling on low memory. I tried to increase memory of heap, but if i set -Xmx greater than 1024m (for exeample -Xmx2048m) it writes "Could not create Java Virtual Machine". I have pc with 16GB Ram and OS Windows 7 Professional 64bit and using 32bit 1.6 Java.
How can I give to my STS more memory to prevent the falling if this doesn't work. I tried to google it but I didn't find anything useful.
This limitation is indeed caused by using the 32bit JVM. To use more heap space for your STS or Eclipse installation, please download the 64bit version of it and use it with a 64bit JVM for your Windows system.

Spring tool suite error 13 : Windows 8.1 and JAVA 8

Cannot start sts - it gives me below error - I am using Windows 8.1; JAVA Version 1.8.0_20 - not sure whats going wrong
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.springsource.sts.ide
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vm
T:/softwares/jdk1.8.0_20/bin/javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms40m
-Xmx768m
-Dorg.eclipse.swt.browser.IEVersion=10001
I have tried changing JAVA_HOME path even added -vm args but nothing seems to work...Since I am running JAVA 1.8 I have added the required version as 1.8 not sure if that's the issue? Any help much appreciated. It gives me ERROR Code 13 constantly
I can't see the image that you mentioned, but I guess this is a mismatch between the STS version that you downloaded and the JDK that you are using with regards to 32bit vs. 64bit. It looks like you downloaded the 64bit version of STS. Are you sure that the JDK 1.8.0_20 that you have installed is a 64bit JDK as well? Error code 13 is often related to this kind of mismatch.

Eclipse, exit code 13

I am using java 1.6. I have 64 bit W7OS. When I start Eclipse, I receive the exit code=13 error message.
I have seen some solutions for this and I went into the eclipse.ini file and added in the path to java 1.6. This is the .ini file now. I added in the '-vm' and the following line of C:...
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130521-0416
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files\Java\jre6\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
I understand that the Internet thinks that this has to do with my OS being 64-bit and Eclipse trying to run 32 bit version or something, but I do not understand the solutions given for that. What should I do?
Thank you in advance.
You don't have to reinstall java.
Go to C:\Program Data\Oracle\java and check the path the shortcuts java, javaw and javaws are pointing to.
If the shortcuts are not pointing to the correct 64-bit java path, delete the shortcuts and create new ones with the same name and change the target location of the program to the 64bit java (jdk\bin{java or javaws or javaw}) location.
I had this problem and was generated by the symlinks in C:\ProgramData\Oracle\Java\javapath the javaw symlink was pointing to the 32bit version.
I removed and created a new javaw symlink whith this command on the command prompt running as admin: mklink \javaw "C:\Program Files\Java\jdk1.8.0_60\bin"
The last arg og the command is where 64bit javaw is placed.
Hope this helps!

How do I change the JDK that my Eclipse (OS X) is running on?

I am trying to get my Eclipse on OS X to start up using JDK 1.6 rather than the JDK 1.5 that it normally uses. I have edited my eclipse.ini file (Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini) to the following:
-startup
../../../plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.100.v20110502
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
-vmargs
-Xms40m
-Xmx384m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
but when I start up Eclipse and go to About Eclipse SDK → Installation Details → Configuration it still says (among other things)
java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/lib/endorsed
java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home
java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition
java.runtime.version=1.5.0_30-b03-389-9M3425
java.specification.version=1.5
java.version=1.5.0_30
Can someone please tell me what I'm doing wrong here? Thanks.
java.vm.version=1.5.0_30-161
I believe that the -vm setting must be the first two lines of the eclipse.ini file.

Eclipse CDT crashes java

I downloaded fresh Eclipse CDT, added a C++ project, and after a few minutes eclipse crashed. It said "javaw.exe returned -1", and Eclipse crashes silently.
The .metadata/.log file sometimes contains nothing, and sometimes contains a few Java exception in the C/C++ indexer which certainly doesn't explain a silent crash.
How can I further debug this phenomena? I've no clue what to look for next.
I'm running the latest stable Eclipse CDT (7.0.1), with Windows 7 64bit, with the latest stable JDK (6u24).
On my machine, Windows 7, I have Eclipse in C:\Users\james\eclipse. In that folder, after crashes, I see error files like "hs_err_pid4308.log" that have lots of useful information.
For my crashes, it lead me to https://bugs.eclipse.org/bugs/show_bug.cgi?id=333227 where I found a suggestion to add -XX:-UseCompressedOops to the end of my eclipse.ini file. The ini file for my 64 bit Windows 7 non-crashing Eclipse Helios Service Release 2 Build id: 20110301-1815 with CDT now looks like:
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:-UseCompressedOops