On Thu, 27 Jan 2005 18:05:19 -0500, Andrew Overholt <overholt(a)redhat.com> wrote:
* Nick Bargnesi <nbargnesi(a)gmail.com> [2005-01-27 17:50]:
> > This is because we've compiled and linked Eclipse with libgcj4's .so
but
> > you're running with gij from the 3.4.x package (which is linked against
> > libgcj 3.4.x's .so). You just need to set your alternatives to point to
> > java-1.4.2-gcj4-compat and -devel. See blow:
> >
>
> Even after setting the alternative java and javac, I still see the
> RenderedImage gcj failure.
Hmm. Can I see the output of the following commands:
rpm -qa | grep eclipse
eclipse-pde-3.0.1_fc-9
eclipse-source-3.0.1_fc-9
eclipse-gtk2-3.0.1_fc-9
eclipse-ecj-3.0.1_fc-9
eclipse-platform-3.0.1_fc-9
eclipse-jdt-3.0.1_fc-9
rpm -q gcc4-java
gcc4-java-4.0.0-0.22
rpm -q libgcj4-devel
libgcj4-devel-4.0.0-0.22
which java
/usr/bin/java
java --version
Warning: --version not understood. Ignoring.
Usage: gij [OPTION] ... CLASS [ARGS] ...
to invoke CLASS.main, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
Try `gij --help' for more information.
java -version returns:
java version "1.4.2"
gcj (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
which javac
/usr/bin/javac
javac -version
Eclipse Java Compiler 0.452_R30x, Copyright IBM Corp 2000, 2004. All
rights reserved.
Thanks,
Andrew
Thoughts? This is on an x86 platform. I tried on x86_64 last night
with same results.
--
Nick Bargnesi
http://www.den-4.com
Den 4 Software
pub 1024D/E8BD2FD0 2004-12-02 Nick Bargnesi <nbargnesi(a)gmail.com>
Key fingerprint = 6F9D 9404 63CD 2B04 DE7A 0F9D A1ED C1B0 E8BD 2FD0
sub 2048g/56C5D45B 2004-12-02
dd if=/dev/zero of=/dev/hda