ITeye博客

Java Native Interface (JNI) - JNI javah error : class file contains wrong class

standalone · 2010-08-06 08:26 · java · 编程语言 · Markdown

http://forums.sun.com/thread.jspa?threadID=709403

 

On how java tools find user classes:
A class/java file has a subpath name that reflects the class's fully-qualified name. For example, if the class com.mypackage.MyClass is stored under /myclasses, then /myclasses must be in the user class path and the full path to the class file must be /myclasses/com/mypackage/MyClass.class (or .java)

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。