LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   eclipse installation and execution on linux (https://www.linuxquestions.org/questions/fedora-35/eclipse-installation-and-execution-on-linux-230881/)

tomtran 09-15-2004 08:22 AM

eclipse installation and execution on linux
 
I have problem running eclipse on my FC2 linux. Here is how I installed eclipse and java sdk:

I unziped eclipse-SDK-3.0-linux-motif.zip in /usr/local/. This created /usr/local/eclipse/ directory with eclipse executable in it. I also run j2sdk-1.3.1_13-linux-586.bin in /usr/local. This installed java sdk in /usr/local/jdk1.3.1_13/ dirrectory.

In my ~/.bash_profile, I added these two lines:
PATH=$PATH:/usr/local/jdk1.3.1_13/bin
export PATH

I logged out and logged back in again, and checked $PATH to make sure the path is set correctly.

I run eclipse by entering this command from my home directory:
$/usr/local/eclipse/eclipse
The command came back with the error:
/usr/local/jdk1.3.1_13/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory

and eclipse displayed a window with the following messages:
JVM terminated. Exit code=127
/usr/local/jdk1.3.1_13/bin/java
-cp /usr/local/eclipse/startup.jar org.eclipse.core.launcher.Main
-os linux
-ws motif
-arch x86
-showsplash /usr/local/eclipse/eclipse -showsplash 600
-exitdata /usr/local/eclipse/eclipse -exitdata f8004
-vm /usr/local/jdk1.3.1_13/bin/java
-vmargs
-cp /usr/local/eclipse/startup.jar org.eclipse.cor.launcher.Main

I am new to linux and eclipse. Please help.
Thanks for your attentions

pacde 09-15-2004 09:19 AM

I dont know if this is your problem, but my understanding is that eclipse requires J2SDK-1.4.2_05 ... You should download the entire SDK from (not just the JRE)here .

tomtran 09-15-2004 02:25 PM

Thanks Pacde,

I installed j2sdk-1_4_2_05-linux-i586.bin, and eclipse now works.

Thank you so much for your quick response.

Tom Tran

XavierP 09-15-2004 03:14 PM

Moved: This thread is more suitable in Fedora and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 07:37 AM.