LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-24-2004, 04:48 AM   #1
caovankhanhvn
LQ Newbie
 
Registered: Mar 2004
Posts: 27

Rep: Reputation: 15
How to run Eclipse on linux Fedora I ? ?


I've downloaded JDK 1.4.2 , install it to /usr/java
I've downloaded Eclipse
I've run exprort export JAVA_HOME = /usr/java/j2sdk1.4.2_04/
But despire of those , eclipse did'nt run . It alway error :

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:
/opt/eclipse/jre/bin/java
'java' in your current PATH


How can I solve that problem ?
Please help me ! ! ! !
 
Old 06-24-2004, 11:23 AM   #2
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
You need to add

/usr/java/j2sdk1.4.2_04/bin to your PATH

try
Code:
export PATH=$PATH:/usr/java/j2sdk1.4.2_04/bin
check out the link below for more information:

http://www.csfalcon.com/wiki/csfalcon/JavaSDK

Last edited by csfalcon; 06-09-2008 at 03:12 PM.
 
Old 06-24-2004, 01:34 PM   #3
caovankhanhvn
LQ Newbie
 
Registered: Mar 2004
Posts: 27

Original Poster
Rep: Reputation: 15
I've done all the thing as follow :

With JDK :

# chmod +x j2sdk-1_4_2_04-linux-i586-rpm.bin

# ./j2sdk-1_4_2_04-linux-i586-rpm.bin

# rpm -ivh j2sdk-1_4_2_04-linux-i586.rpm

vi profile

# Java SDK Path
export PATH=$PATH:/usr/java/j2sdk-1_4_2_04/bin
# source /etc/profile

With eclipse :
# Eclipse Path
export PATH=$PATH:/usr/eclipse
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/eclipse

But it still error . How can I do ?
 
Old 06-25-2004, 04:31 AM   #4
Goala
Member
 
Registered: May 2004
Location: Merida (Spain)
Distribution: Debian
Posts: 89

Rep: Reputation: 15
Have you tried the -vm switch running eclipse?


-vm /path_to_java_virtual_machine/javaw


bye.


PS: it's ok in win32, I don't know if in linux is the same, just trying.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run Eclipse? max2004 Fedora 10 02-22-2006 03:37 AM
JVM error when I run eclipse tareqth Linux - Software 4 07-22-2005 03:53 AM
can't run eclipse tazaran Linux - Software 12 06-11-2004 04:46 PM
Can't run programs (eclipse) UberNoob Linux - Newbie 3 12-01-2003 02:52 PM
Making eclipse run without terminal true_atlantis Linux - Newbie 4 10-30-2003 12:56 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration