Re: eclipse & java 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Weiqi Gao <weiqigao@xxxxxxxxx> wrote:

> I'm not Andrew.  But I'm curious about the version
> of the Sun JDK you
> are using.  I have not installed the Sun JDK on my
> new FC4 on AMD64
> box for fear that it might mess up the Java stuff
> from FC4.
> 
> Are you running the i586 version or the amd64
> version of the Sun JDK?
> 
> --
> Weiqi Gao
> 
> On 1/25/06, Hoffmann <oasf2004@xxxxxxxxx> wrote:
> > --- Andrew Overholt <overholt@xxxxxxxxxx> wrote:
> >
> > > * Hoffmann <oasf2004@xxxxxxxxx> [2006-01-24
> 11:12]:
> > > >
> > > > In my case, even as root I get the same error
> you
> > > got
> > > > in ./workspace/.metadata/.log.
> > >
> > > If you're having the (what we suspect is a)
> prelink
> > > issue described at [1],
> > > you can get around the main sympton by creating
> a
> > > symlink in /usr/bin to
> > > /usr/share/eclipse/eclipse .  The startup.jar
> > > symlink isn't necessary.
> > >
> > > If you are having other issues, try temporarily
> > > moving ~/.eclipse out of
> > > the way.  Also, we will need more information
> > > (preferably at [1]) if we are
> > > to go further.  Post the output of the following
> at
> > > that bug:
> > >
> > > uname -a
> > > which java
> > > java -version
> > > rpm -q
> > >
> --querformat="%{name}-%{version}-%{release}.%{arch}"
> > > gcc \
> > >   gcc-java java-1.4.2-gcj-compat{,-devel}
> > > eclipse-platform
> > >
> > > > I think this Eclipse-Fedora problem became a
> kind
> > > of
> > > > "soup opera". That is ridiculous!
> > >
> > > Haha :) .
> > >
> > > Andrew
> > >
> > > [1]
> > >
> >
>
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=177210
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list@xxxxxxxxxx
> > > To unsubscribe:
> > >
> https://www.redhat.com/mailman/listinfo/fedora-list
> > >
> >
> > Hello Andrew,
> >
> > Please, see below my answers (to your 6 questions)
> > followed by the arrows (-->):
> >
> > (1) When I try to run eclipse, I get the following
> > error:
> > --> An error has occurred. See the log file
> > /home/hoffmann/workspace/.metadata/.log.
> >
> > See what I see into that file below:
> >
> > !SESSION 2006-01-25 15:45:06.11
> > ------------------------------------------------
> > eclipse.buildId=M20050929-0840
> > java.version=1.5.0_06
> > 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-01-25 15:45:09.215
> > !MESSAGE Application error
> > !STACK 1
> > java.lang.UnsatisfiedLinkError:
> >
>
/home/hoffmann/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/9/1/.cp/libswt-pi-gtk-3139.so:
> >
>
/home/hoffmann/.eclipse/org.eclipse.platform_3.1.1/configuration/org.eclipse.osgi/bundles/9/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)
> >         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:381)
> >         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:226)
> >         at
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
> >         at
> >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
> >         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:334)
> >         at
> >
>
org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> >         at
> org.eclipse.core.launcher.Main.run(Main.java:973)
> >         at
> org.eclipse.core.launcher.Main.main(Main.java:948)
> >
> > !ENTRY org.eclipse.osgi 2006-01-25 15:45:09.236
> > !MESSAGE Bundle
> > update@plugins/org.eclipse.ant.ui_3.1.1.jar [12]
> was
> > not resolved.
> > !SUBENTRY 1 org.eclipse.osgi 2006-01-25
> 15:45:09.236
> > !MESSAGE Missing required bundle
> > org.eclipse.jdt.ui_0.0.0.
> > !SUBENTRY 1 org.eclipse.osgi 2006-01-25
> 15:45:09.236
> > !MESSAGE Missing required bundle
> > org.eclipse.jdt.debug.ui_0.0.0.
> > !SUBENTRY 1 org.eclipse.osgi 2006-01-25
> 15:45:09.237
> > !MESSAGE Missing required bundle
> > org.eclipse.jdt.launching_0.0.0.
> >
> > (2) uname -a
> > --> Linux localhost.localdomain
> 2.6.14-1.1656_FC4smp
> > #1 SMP Thu Jan 5 22:26:33 EST 2006 x86_64 x86_64
> > x86_64 GNU/Linux
> 
=== message truncated ===

Hi Weiqi,

I have installed the last version of Java, and it is
working perfectly! My only problem is with Eclipse,
that doesn't work even with the previous Java 1.4.2.
[My processor is an Intel Pentium D (Due Core) Em64T].
 
For instructions about how to install the last version
of Java on Fedora Core 4, just follow the link shown
below:

http://stanton-finley.net/fedora_core_4_installation_notes.html#Java

Hoffmann
PS: Notice that by following that link, you can use
either use the last  version of Java or the previous
one. All you need to do is either enable one or the other.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux