R
Rmac
I'm trying to create a native header from an existing jar file
(actually, only one class w/in the jar file). I've tried all sorts of
command line arguments (w/ classpath) and nothing seems to work.
Here's the setup:
* package is blah.jar and contains dozens of classes, one of which I'm
interested in creating a .h for (blahClass.java)
* I have the source for it in another directory but its dependencies
are pretty large and I figure using javah on the .jar file would be
easiest?
* why wouldn't this work:
javah -classpath c:\temp\work\blah.jar blahClass
blahClass is also part of a larger package (net.program.message) so I
also tried:
javah -classpath c:\temp\work\blah.jar net.program.message.blahClass
nothing works.
any ideas? thx
(actually, only one class w/in the jar file). I've tried all sorts of
command line arguments (w/ classpath) and nothing seems to work.
Here's the setup:
* package is blah.jar and contains dozens of classes, one of which I'm
interested in creating a .h for (blahClass.java)
* I have the source for it in another directory but its dependencies
are pretty large and I figure using javah on the .jar file would be
easiest?
* why wouldn't this work:
javah -classpath c:\temp\work\blah.jar blahClass
blahClass is also part of a larger package (net.program.message) so I
also tried:
javah -classpath c:\temp\work\blah.jar net.program.message.blahClass
nothing works.
any ideas? thx