Bug 175119 - Eclipse can't run javah
Summary: Eclipse can't run javah
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ben Konrath
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-06 18:54 UTC by Mark Robinson
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-04-16 07:07:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


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