Fedora Linux Support Community & Resources Center
  #1  
Old 22nd April 2009, 12:38 PM
anutwalidera Offline
Registered User
 
Join Date: Apr 2009
Posts: 2
Failed to open Eclipse(Ganymede or Gallieo same effect) on Fedora

I have been using Eclipse Ganymede with open-jdk. However after I install manually java 1.6 jdk and remove open-jdk from Fedora it gives me a error like below. I can see java version by writing java --version command and other programs can run on my machine like SQL Developer by Oracle which requires Java-JDK.

JVM terminated. Exit code=-1

-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=/home/anut/Desktop/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v2008112 5.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/anut/Desktop/eclipse//plugins/org.eclipse.platform_3.3.101.v200902111700/splash.bmp
-launcher /home/anut/Desktop/eclipse/eclipse
-name Eclipse
--launcher.library /home/anut/Desktop/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.101 .R34x_v20080805/eclipse_1115.so
-startup /home/anut/Desktop/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v2008112 5.jar
-vm /opt/jdk1.6.0_13/bin/../jre/lib/i386/client/libjvm.so
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=/home/anut/Desktop/eclipse/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v2008112 5.jar

Can anybody help me to overcome this issue ?
Reply With Quote
  #2  
Old 22nd April 2009, 04:35 PM
anutwalidera Offline
Registered User
 
Join Date: Apr 2009
Posts: 2
Dear fedora users;


I have manage to solve this problem by pointing my JDK in my eclipse.ini file

you should point your JDK in here like that in an separate line;

eclipse.ini
-showsplash
org.eclipse.platform
-vm
/opt/jdk1.6.0_13/bin/java

-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m

Bold lines are important after changing these lines eclipse works without an error.
This should help...

or the second solution is that to give

eclipse -vm /pointtoyour/jdk/bin/java here

anutwalidera
Reply With Quote
Reply

Tags
eclipseganymede, effect, failed, fedora, gallieo, open

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse Ganymede Failed to run on Fedora 9 idos Programming & Packaging 8 2nd August 2009 05:46 PM
Installing Eclipse Ganymede in Fedora 7. javame Installation, Upgrades and Live Media 1 19th December 2008 06:10 AM
Eclipse Ganymede Problems brsett Using Fedora 2 15th September 2008 07:02 AM
Eclipse Ganymede on Fedora 9 randell Using Fedora 1 2nd July 2008 09:26 PM
How will an Open Source Java effect linux? KClaisse Linux Chat 9 28th October 2006 05:51 AM


Current GMT-time: 21:28 (Tuesday, 16-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat