Bug 175119

Summary: Eclipse can't run javah
Product: [Fedora] Fedora Reporter: Mark Robinson <msr>
Component: eclipseAssignee: Ben Konrath <ben>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-16 07:07:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mark Robinson 2005-12-06 18:54:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7

Description of problem:
When I use eclipse to run an ant file with a javah statement I get

/home/mark/jv4linfo/jv4linfo/src/build.xml:64: Error starting javah: java.lang.ClassNotFoundException: com.sun.tools.javah.Main


Version-Release number of selected component (if applicable):
eclipse-ecj-3.1.1-1jpp_1fc.FC4.4

How reproducible:
Always

Steps to Reproduce:
1. Import an ant file with a javah compile directive into Eclipse
2. Attempt to build the file
3.
  

Actual Results:  header:
       [javah] ClassArgument.name=net.luniks.linux.jv4linfo.JV4LInfo

BUILD FAILED
/home/mark/jv4linfo/jv4linfo/src/build.xml:64: Error starting javah: java.lang.ClassNotFoundException: com.sun.tools.javah.Main

A dialog box pops up with the error as well


Expected Results:  javah should generate the appropriate header file.

Additional info:

Comment 1 Ben Konrath 2006-10-04 02:06:36 UTC
Sorry for the delay here, we missed this because it should have been filed
against the eclipse package. Does this still happen with FC5 or FC6?

Comment 2 Andrew Overholt 2006-10-04 02:13:11 UTC
Is this perhaps an error in gcjh (or whatever is actually providing
/usr/bin/javah) itself?  Does it work from outside Eclipse via ant?

Comment 3 Ben Konrath 2006-10-04 17:00:44 UTC
I'm actually interested to know what's going on, so I'm moving this to FC5.

Comment 4 Ben Konrath 2007-04-16 07:07:32 UTC
I'm going to close this bug since it has been in the NEEDINFO state for more
than 6 months without a response. Please re-open if this is still an issue.
Thanks, Ben