On Fri, 28 Jan 2005 13:32:04 -0500, Andrew Overholt <overholt(a)redhat.com> wrote:
* Nick Bargnesi <nbargnesi(a)gmail.com> [2005-01-28 13:05]:
> java -version returns:
>
> java version "1.4.2"
> gcj (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
[...]
> Thoughts? This is on an x86 platform. I tried on x86_64 last night
> with same results.
Yeah, you need to have your java alternative set to java-1.4.2-gcj4-compat.
It looks like it's currently set to java-1.4.2-gcj-compat (which uses gij
from the 3.4.x package).
Do the following (and note the 4s):
su - -c "update-alternatives --set java \
/usr/lib/jvm/jre-1.4.2-gcj4/bin/java"
su - -c "update-alternatives --set javac \
/usr/lib/jvm/java-1.4.2-gcj4/bin/javac"
Andrew
Using gcj4/bin/java and gcj4/bin/javac worked. Good stuff. I'll
start using this as my daily environment and see what kind of bugs I
can find...
--
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