FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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".
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.
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)
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.
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)
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.