Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javah

807589Sep 17 2007 — edited Sep 9 2008
Hello, I'm trying to run some C++ code on a Java GUI. I found out that native methods is the way to go; but I'm stuck because I can't create a header file using "javah" from the command window the way is supposed to be used. If there is anyone that can help me it would be great.

I tried following an example from Sun's website but I can't create that header file. According to the example this is how it should be enter on the DOS command prompt:

C:\> javah HelloWorld

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2008
Added on Sep 17 2007
20 comments
4,861 views