LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-05-2005, 09:26 AM   #1
max2004
Member
 
Registered: Feb 2005
Posts: 57

Rep: Reputation: 15
How to run Eclipse?


I recently upgraded from FC3 to FC4. I heard that FC4 would include Eclipse, but I can't find it!
In /usr/share/eclipse/ there are only three directories: "configuration" and "features" are empty, "plugins" contains (in subdirectories):
./org.eclipse.jdt.core_3.1.0:
about.html
jdtCompilerAdapter.jar
jdtcore.jar
.options
plugin.properties
plugin.xml

I also can't find an Eclipse entry in the KMenu under "Programming".

Can you help me?

Thx, max
 
Old 07-06-2005, 04:16 AM   #2
thug_poet22
LQ Newbie
 
Registered: Jan 2004
Location: New York
Posts: 22

Rep: Reputation: 15
Are you certain that it was installed, it probably was included in fc4 but it probably wasn't a default app. If you did a custom install, it will give you the option to pick which software that you would want to be installed. Im think that you can also use Yum. I hope that helps.
 
Old 07-06-2005, 09:28 AM   #3
max2004
Member
 
Registered: Feb 2005
Posts: 57

Original Poster
Rep: Reputation: 15
Hi Thug,

thanx for the hint, I could install it using the FC4 DVD.
But when I started it using the KMenu, I got
An error has occurred. See the log file
"~/workspace/.metadata/.log".


The content of the file is:
Code:
!SESSION 2005-07-06 16:18:41.05 ------------------------------------------------
eclipse.buildId=I20050401-1645
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data ~/workspace

!ENTRY org.eclipse.osgi 2005-07-06 16:18:41.15
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: ~/.eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/93/1/.cp/os/linux/x86_64/libswt-pi-gtk-3128.so: ~/.eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/93/1/.cp/os/linux/x86_64/libswt-pi-gtk-3128.so: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
	at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
	at org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
	at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:320)
	at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
	at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:128)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:79)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
	at org.eclipse.core.launcher.Main.run(Main.java:942)
	at org.eclipse.core.launcher.Main.main(Main.java:926)
 
Old 10-09-2005, 09:44 PM   #4
needo
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
I am having this exact same problem after installing eclipse via the RPM's. Were you able to find a solution to this error?

Thank you.
 
Old 10-09-2005, 10:05 PM   #5
bobvh77
LQ Newbie
 
Registered: Oct 2005
Location: Ohio
Distribution: Fedora4
Posts: 19

Rep: Reputation: 0
i just installed it using yumex. 1:3 installed and uninstalled with no problem.

did you try: yum install eclipse ?
 
Old 10-09-2005, 10:07 PM   #6
needo
LQ Newbie
 
Registered: Oct 2005
Posts: 2

Rep: Reputation: 0
Yes. It installs/uninstalls without an issue but it will not run. I get the errors max described above.
 
Old 10-09-2005, 10:52 PM   #7
bobvh77
LQ Newbie
 
Registered: Oct 2005
Location: Ohio
Distribution: Fedora4
Posts: 19

Rep: Reputation: 0
do you have java installed? i tried running eclipse and it starts fine after installing. i have only installed a few things on my fedora setup and java was one of them.
 
Old 02-19-2006, 03:38 AM   #8
kkolehma
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
I am having exact same problem

I have same problem. I don't know if I missed something in the install, but I did install practically everything under "Development". File which this error claims to be missing is also in the directory that is specified in the error. Same file is also under /usr/lib64 but not under /usr/lib. That should be fine since i have x86_64 architecture (??). Same problem happened when I installed new Eclipse from eclipse.org build specifically for x86_64. I also installed new J2EE from java.sun.com. I also redirected most java related links in /etc/alternatives to new Java SDK location and. Java itself seems to be running ok. I also have installed every package with yumex that starts with gtk.

I never had this kind of problems with i386 Fedora. It seems that x86_64 distro is _far_ from working. Any ideas how to solve this problem would be appreciated.

Quote:
Originally Posted by max2004
Hi Thug,

thanx for the hint, I could install it using the FC4 DVD.
But when I started it using the KMenu, I got
An error has occurred. See the log file
"~/workspace/.metadata/.log".


The content of the file is:
Code:
!SESSION 2005-07-06 16:18:41.05 ------------------------------------------------
eclipse.buildId=I20050401-1645
java.version=1.4.2_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data ~/workspace

!ENTRY org.eclipse.osgi 2005-07-06 16:18:41.15
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: ~/.eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/93/1/.cp/os/linux/x86_64/libswt-pi-gtk-3128.so: ~/.eclipse/org.eclipse.platform_3.1.0/configuration/org.eclipse.osgi/bundles/93/1/.cp/os/linux/x86_64/libswt-pi-gtk-3128.so: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
	at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
	at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
	at org.eclipse.swt.widgets.Display.<clinit>(Display.java:122)
	at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:320)
	at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
	at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:128)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:79)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:156)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:315)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
	at org.eclipse.core.launcher.Main.run(Main.java:942)
	at org.eclipse.core.launcher.Main.main(Main.java:926)
 
Old 02-19-2006, 03:41 PM   #9
isd2301
Member
 
Registered: Mar 2005
Location: Chula Vista, CA, USA
Distribution: Ubuntu, Fedora
Posts: 41

Rep: Reputation: 15
I believe Eclipse is a portable application. This means you can put the Eclipse folder anywhere you want and it will run. If you link to it you will need to link to the folder location where you have installed it. So if you move the folder you will have to create a new symlink. All of the runtime files must be in this folder. If I am not mistaken GTK and SDK must also be installed on your system....At least this is what worked for me.
 
Old 02-22-2006, 02:08 AM   #10
kkolehma
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
Hi,

Yes that was the case with 32bit version, but now I have tried to run eclipse on 64 bit AMD and it didn't work that way. I tried 3.1.1 version that comes with Fedora and I tried 3.1.2 version downloaded from eclipse.org. Every time it gives same error:
eclipse.buildId=M20050929-0840
java.version=1.5.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.osgi 2006-02-18 15:14:19.450
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /home/kkolehma/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/96/1/.cp/libswt-pi-gtk-3139.so: /home/kkolehma/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/96/1/.cp/libswt-pi-gtk-3139.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)


Well I can't understand what is the problem, when that file is in fact in that very directory and also in /usr/lib64/!!!

I got frustrated and downloaded 32bit version which works out-of-the-tarball (in very same 64bit system). Clearly this is a bug either in 64bit eclipse or in 64bit Fedora.

--- Kari Kolehmainen
 
Old 02-22-2006, 02:37 AM   #11
kkolehma
LQ Newbie
 
Registered: Oct 2005
Posts: 8

Rep: Reputation: 0
Ok. This was clearly user stupidy error. I had installed i586 jdk from Sun cause I didn't scroll down to download page and didn't notice 64bit version there...

So when I installed 64bit JDK everything works as it should.... well you live and learn...
 
  


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
JVM error when I run eclipse tareqth Linux - Software 4 07-22-2005 02:53 AM
How to run Eclipse on linux Fedora I ? ? caovankhanhvn Programming 3 06-25-2004 03:31 AM
can't run eclipse tazaran Linux - Software 12 06-11-2004 03:46 PM
Can't run programs (eclipse) UberNoob Linux - Newbie 3 12-01-2003 01:52 PM
Making eclipse run without terminal true_atlantis Linux - Newbie 4 10-29-2003 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:30 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