Results 1 to 4 of 4
Good evening
I'm quite new to linux. I'm working on a 64 bit linux fedora 6. I've installed Eclipse using a package. I also installed java 1.5 64 bit; it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-16-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 6
Eclipse and java
Good evening
I'm quite new to linux. I'm working on a 64 bit linux fedora 6. I've installed Eclipse using a package. I also installed java 1.5 64 bit; it seems to be installed in /usr/java/jdk1.5.0_13.
When I type 'eclipse' in a terminal and press enter, there comes a messagebox saying:
*******************
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:
/usr/share/eclipse/jre/bin/java
'java' in your current PATH
*******************
I was wondering how i could tell eclipse where to find java.
Greets and thanks
- 10-16-2007 #2
It would be easier for you to use the pre-packaged Java/Eclipse program. It's a project called Fedora Eclipse and you can install it by running:
If you would like the C/C++ development plugin, run:Code:yum install eclipse-pde-devel eclipse-jdt
Hope that works for you.Code:yum install eclipse-cdt
- 10-23-2007 #3Just Joined!
- Join Date
- Aug 2007
- Posts
- 6
startup problem: exitcode =1
Hello
I did what you said. The install process seamed to work fine.
But when i try to launch eclipse, it now says the message below. I tried to resolve this by: ln -s /usr/bin/eclipse /usr/share/eclipse/eclipse ; but i see no change; it still gives the same error.
I hope y can help me
(ps: 64bit os!)
Failed to load Main-Class manifest attribute from startup.jar
JVM terminated. Exit code=1
/usr/bin/java
-Xms40m
-Xmx256m
-Dosgi.sharedConfiguration.area=/usr/lib64/eclipse/configuration
-jar startup.jar
-os linux
-ws gtk
-arch x86_64
-launcher /usr/bin/eclipse
-name Eclipse
-showsplash 600
-exitdata 230017
-vm /usr/bin/java
-vmargs
-Xms40m
-Xmx256m
-Dosgi.sharedConfiguration.area=/usr/lib64/eclipse/configuration
-jar startup.jar
- 10-23-2007 #4Just Joined!
- Join Date
- Aug 2007
- Posts
- 6
re
i even doubt if eclipse is really installed, cause
usr/lib/eclipse does not exist
usr/lib64/eclipse exists but contains only some files and some jars


Reply With Quote
