Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 231307 - missing /usr/bin/gjnih
missing /usr/bin/gjnih
Product: Fedora
Classification: Fedora
Component: java-1.4.2-gcj-compat (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Fitzsimmons
Depends On:
Blocks: 194280
  Show dependency treegraph
Reported: 2007-03-07 11:36 EST by Kevin Fenzi
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-19 08:28:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kevin Fenzi 2007-03-07 11:36:31 EST
Description of problem:

Try and compile something like the kdebindings package

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
ls: cannot access /usr/bin/gjnih: No such file or directory
lrwxrwxrwx 1 root root 37 2007-03-06 21:27 /etc/alternatives/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.
Comment 1 Tom Tromey 2007-03-08 14:08:36 EST
Note that for F7 the new 'gjavah' tool should probably be used.
Upstream gcj doesn't build gjnih any more.
Comment 2 Jakub Jelinek 2007-03-11 12:16:38 EDT
The alternatives are owned by java-1.4.2-gcj.
Comment 3 Thomas Fitzsimmons 2007-03-11 12:28:40 EDT
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:


which is undergoing review.
Comment 4 Thomas Fitzsimmons 2007-03-11 12:29:39 EDT
I meant:

ln -sf ../../../../bin/gjavah /usr/lib/jvm/java-1.4.2-gcj/bin/javah
Comment 5 Rex Dieter 2007-03-11 12:34:45 EDT
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)?
Comment 6 Thomas Fitzsimmons 2007-03-11 12:39:04 EDT
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- to
/usr/lib/jvm/java-1.5.0-gcj- until libgcj is rebuilt with
Comment 7 Thomas Fitzsimmons 2007-03-19 08:28:45 EDT
java-1.5.0-gcj has hit Rawhide.  Please upgrade to it:

yum install java-1.5.0-gcj{,-devel,-src,-javadoc}

Note You need to log in before you can comment on or make changes to this bug.