Skip to main content



      Home
Home » Newcomers » Newcomers » Does javah work?
Does javah work? [message #62735] Wed, 11 May 2005 10:32 Go to next message
Eclipse UserFriend
Originally posted by: nobody.tellus.orb

Hi,

Has anyone got javah to work in ant?
I've tried the following with different kinds of
variations.

<target name = "Native Header">
<javah destdir="${mydest}"
classpath = "${classdir}"/>
<class name = "myPackage.MyClass"/>
</javah>
</target>

But I always get the error message

BUILD FAILED: ...\build.xml:64: Error starting javah:
java.lang.ClassNotFoundException: com.sun.tools.javah.Main


I've search all over the web. Does anyone know a good page
that explains how to set up this properly?

Thanks
Daniel
Re: Does javah work? [message #62758 is a reply to message #62735] Wed, 11 May 2005 10:45 Go to previous messageGo to next message
Eclipse UserFriend
Are you hitting:
http://issues.apache.org/bugzilla/show_bug.cgi?id=34681

"DeMarcus" <nobody@tellus.orb> wrote in message
news:d5t5gm$ep7$1@news.eclipse.org...
>
> Hi,
>
> Has anyone got javah to work in ant?
> I've tried the following with different kinds of
> variations.
>
> <target name = "Native Header">
> <javah destdir="${mydest}"
> classpath = "${classdir}"/>
> <class name = "myPackage.MyClass"/>
> </javah>
> </target>
>
> But I always get the error message
>
> BUILD FAILED: ...\build.xml:64: Error starting javah:
> java.lang.ClassNotFoundException: com.sun.tools.javah.Main
>
>
> I've search all over the web. Does anyone know a good page
> that explains how to set up this properly?
>
> Thanks
> Daniel
>
>
Re: Does javah work? [message #62778 is a reply to message #62758] Wed, 11 May 2005 11:20 Go to previous message
Eclipse UserFriend
Originally posted by: nobody.tellus.orb

Darin Swanson wrote:
> Are you hitting:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=34681
>

I'm using Ant 1.6.2
Is that bug related also to my version?


> "DeMarcus" <nobody@tellus.orb> wrote in message
> news:d5t5gm$ep7$1@news.eclipse.org...
>
>>Hi,
>>
>>Has anyone got javah to work in ant?
>>I've tried the following with different kinds of
>>variations.
>>
>><target name = "Native Header">
>><javah destdir="${mydest}"
>>classpath = "${classdir}"/>
>><class name = "myPackage.MyClass"/>
>></javah>
>></target>
>>
>>But I always get the error message
>>
>>BUILD FAILED: ...\build.xml:64: Error starting javah:
>>java.lang.ClassNotFoundException: com.sun.tools.javah.Main
>>
>>
>>I've search all over the web. Does anyone know a good page
>>that explains how to set up this properly?
>>
>>Thanks
>>Daniel
>>
>>
>
>
>
Previous Topic:Eclipse not coming up!
Next Topic:javadoc comments for packages
Goto Forum:
  


Current Time: Wed Jul 02 21:10:04 EDT 2025

Powered by FUDForum. Page generated in 0.41601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top