I had this problem under NT. I just tested this, you have to leave of the .class
when specifying the file. I don't know if this part is necessary, but I had to
add it for other reasons; put "./" in the classpath.
Example:
javah -jni MyFile
Gaurav Nigam <[EMAIL PROTECTED]> on 02/28/2001 02:26:46 AM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Scott E Herter/MSD/US/PBI)
Subject: jni help
can somebody tell me that when using jni , after compiling the java file
... how do u make a header file
I was using javah -jni <path of classname>
and it is showing me "class could not be found"
also , how do u make a shared lib using win32
thanks gaurav
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html