64-bit JDK configuration in Eclipse JUNO - java

What is it missing in my eclipse.ini. I tried reference from wiki.eclipse.org
My environment is
64-bit Window 7
64-bit JDK (C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe)
eclipse version=4.2.0
Eclipse JUNO
Error
Java was started but returned exit code=13
C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512M
-jar D:\java\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86
-showsplash D:\java\eclipse\\plugins\org.eclipse.platform_4.2.1.v201209141800\splash.bmp
-launcher D:\java\eclipse\eclipse.exe
-name Eclipse
--launcher.library D:\java\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813\eclipse_1503.dll
-startup D:\java\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 139c_80
-product org.eclipse.epp.package.jee.product
-vm C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m
-XX:MaxPermSize=512M
-jar D:\java\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
eclipse.ini
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-vm
C:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms512m
-Xmx1024m

You have 32 bit Juno and 64 bit jdk it is the problem

you need all the components in 64 bit version.
Eclipse
JDK
Platform

Related

Error: JVM terminated. Exit code=4 in Ubuntu

Below is the JAVA version installed in my Ubuntu:-
openjdk version "1.8.0_312" OpenJDK Runtime Environment (build
1.8.0_312-8u312-b07-0ubuntu1~20.04-b07) OpenJDK 64-Bit Server VM (build 25.312-b07, mixed mode)
Eclipse Installed version:-
Eclipse IDE for Java Developers Version: 2019-12 (4.14.0) Build id: 20191212-1212
Steps which I followed to compile my code:-
source path of SDK
Run cMake command
make generate
I am getting below error at step3:-
JVM terminated. Exit code=4 /usr/bin/java
-jar /home/xman/ELINALITE//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-launcher /home/xman/ELINALITE/elina
-name Elina
--launcher.library /home/xman/ELINALITE//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20150204-1316/eclipse_1607.so
-startup /home/xman/ELINALITE//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.overrideVmargs
-exitdata 8027 ............ ............
-vm /usr/bin/java
-vmargs
-jar /home/xman/ELINALITE//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
Below is the content of my /snap/eclipse/48/eclipse.ini file?
-startup plugins/org.eclipse.equinox.launcher_1.5.600.v20191014-2022.jar
--launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1100.v20190907-0426
-product org.eclipse.epp.package.java.product
-showsplash org.eclipse.epp.package.common
--launcher.defaultAction openFile
--launcher.defaultAction openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
Can somebody help me to resolve this error?

Eclipse is not opening in linux environment

Am getting below error , when trying to open eclipse oxygen , in Red Hat Linux env 64 bit. installed jdk 8 also in the linux env.
JVM terminated. Exit code=1
/usr/java/jdk1.7.0_67-cloudera/bin/java
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/cloudera/Downloads/eclipse//plugins
/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /home/cloudera/Downloads/eclipse//plugins
/org.eclipse.epp.package.common_4.7.3.20180405-1200/splash.bmp
-launcher /home/cloudera/Downloads/eclipse/eclipse
-name Eclipse
--launcher.library /home/cloudera/Downloads/eclipse//plugins
/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.551.v20171108-1834
/eclipse_1630.so
-startup /home/cloudera/Downloads/eclipse//plugins
/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.appendVmargs
-exitdata 100015
-product org.eclipse.epp.package.jee.product
-vm /usr/java/jdk1.7.0_67-cloudera/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /home/cloudera/Downloads/eclipse//plugins
/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
This looks like eclipse is configured to use the wrong java version. Required is 1.8. But uses 1.7

Specifying JVM Eclipse Mac OS X

I have a computer unable to install Java because I do not know the admin password. I have copied over my home folder from my other MacBook and edited the Eclipse.ini to run from there (yes that is the file location of the home folder I triple checked). What am I doing wrong?
-vm
/Users/3069264/Documents/JRE/Home/bin/java
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.committers.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

Error starting Eclipse on Ubuntu, JVM terminated Exit code=13

I know, This question is repeated. But I couldn't find solution to my problem.
I do not have sudo permission on ubuntu 12.04.1 LTS, so downloaded eclipse-cpp-luna-SR1-linux-gtk-x86_64.tar.gz and jdk-8u25-linux-i586.tar.gz. set JAVA_HOME ->jdk, JRE_HOME->JRE and PATH variable to JAVAHOME/bin
Getting the below error
JVM terminated. Exit code=13
/vol/users/pradeep.rajan/eclipse/jdk1.8.0_25/bin/java
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925-0400/splash.bmp
-launcher /home/work/pradeep.rajan/eclipse/eclipse
-name Eclipse
--launcher.library /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 2f48018
-product org.eclipse.epp.package.cpp.product
-vm /vol/users/pradeep.rajan/eclipse/jdk1.8.0_25/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/work/pradeep.rajan/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
My eclipse.ini file
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
Copy the JRE to eclipse/jre so eclispse can use eclipse/jre/bin/java!

JVM terminated. Exit code=13

I have downloaded eclipse 64 bit and my os is 64 bit fedora
but am getting below error when i try to open eclipse..
i dont know its a os issue or eclipse issue
when i type java - version
iam being shown with
java version "1.7.0_51"
OpenJDK Runtime Environment (fedora-2.4.5.1.fc20-x86_64 u51-b31)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
JVM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/kranthikumar.sama/Downloads/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/kranthikumar.sama/Downloads/Eclipse/eclipse//plugins/org.eclipse.platform_4.2.1.v201209141800/splash.bmp
-launcher /home/kranthikumar.sama/Downloads/Eclipse/eclipse/eclipse
-name Eclipse
--launcher.library /home/kranthikumar.sama/Downloads/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/eclipse_1502.so
-startup /home/kranthikumar.sama/Downloads/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 260005
-product org.eclipse.epp.package.dsl.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/kranthikumar.sama/Downloads/Eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
here is my eclipse.ini file
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.dsl.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m

Categories

Resources