Description of problem: Try and compile something like the kdebindings package https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=194280 The compile fails because gcc-java doesn't contain a /usr/bin/gjnih # ls -la /etc/alternatives/javah /usr/lib/jvm/java-1.4.2-gcj/bin/javah /usr/bin/gjnih ls: cannot access /usr/bin/gjnih: No such file or directory lrwxrwxrwx 1 root root 37 2007-03-06 21:27 /etc/alternatives/javah -> /usr/lib/jvm/java-1.4.2-gcj/bin/javah lrwxrwxrwx 1 root root 14 2007-03-06 21:27 /usr/lib/jvm/java-1.4.2-gcj/bin/javah -> /usr/bin/gjnih This is version 4.1.2-3 from devel. version 4.1.1-53 seems to be fine.
Note that for F7 the new 'gjavah' tool should probably be used. Upstream gcj doesn't build gjnih any more.
The alternatives are owned by java-1.4.2-gcj.
As a temporary workaround you can do: ln -sf ../../../../bin/gjavah /usr/lib/jvm/java-1.5.0-gcj/bin/javah This is fixed by java-1.5.0-gcj: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228960 which is undergoing review.
I meant: ln -sf ../../../../bin/gjavah /usr/lib/jvm/java-1.4.2-gcj/bin/javah
So what pkg is going to own /usr/lib/jvm/java-1.4.2-gcj/bin/javah in F7? java-1.5.0-gcj (or is there going to be a java-1.4.2-gcj too)?
java-1.5.0-gcj will obsolete java-1.4.2-gcj-compat and will provide /usr/lib/jvm/java-1.5.0-gcj/bin/javah. Initial builds of java-1.5.0-gcj will include a compatibility symlink from /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0 to /usr/lib/jvm/java-1.5.0-gcj-1.5.0.0 until libgcj is rebuilt with java.home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0.
java-1.5.0-gcj has hit Rawhide. Please upgrade to it: yum install java-1.5.0-gcj{,-devel,-src,-javadoc}