FC4 - Eclipse problem
Andrew Overholt
overholt at redhat.com
Tue Jan 10 16:01:04 UTC 2006
On Sun, 2006-01-08 at 16:03 +0100, Tim Lauridsen wrote:
> On Sat, 2006-01-07 at 20:24 -0800, Hoffmann wrote:
> >
> > Hi Dan,
> >
> > Defenitely, something seems to be wrong with Eclipse.
> > If I install the Eclipse platform (and their
> > dependences, of course) either from Eclipse website or
> > from yum, when I try running it, I allways get the
> > following error:
> >
> > "An error has occurred. See the log file
> > /home/hoffmann/workspace/.metadata/.log."
> >
> > Please, see part of that log file below:
> >
> > 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
This is something specific to the Sun JVM. I have heard of this before
but I can't remember how one fixes it. It's something to do with
java.library.path, IIRC.
> Eclipse in FC4 has been compiled with gcj java compiler and is a
> native application, not Java Bytecode as the Normal Eclipse.
Sort of. What we ship with Fedora is both the bytecode *and*
corresponding native shared object files. This allows gij to use
the .sos and other JREs to use the bytecode.
> If you just install Java 1.5, then you will mess up the gcj java
> evironment (See the FC4 Release Notes).
There is much confusion surrounding the best way to install Sun's
JVM/JDK on Fedora. IMHO, using the JPackage setup to allow your JREs to
be alternatives-managed is the best way to go. There are other ways, of
course, including installing the Sun binary blobs into /opt or
elsewhere. This has been covered many times on the list and Tim points
out one of the many sites regarding this.
Andrew
More information about the fedora-list
mailing list