Really simple question causing a really annoying problem. All I'm trying to do is generate a JNI Header file using JDK Javah.exe program, but no matter what i try i keep getting the error message "Error: could not find class file for 'ddg.ndkTest.NativeLib'" (where ddg.ndkTest is the namespace and NativeLib is the java class file). Also please note that to simplify the process further, i've copied my entire Android project to the Java directory. I've tried the following commands, none of which have worked:
If my package is called; "ddg.ndkTest", and my class is; "NativeLib.java", and my classpath above is correct. What should I write in my command window?? I'm really getting frustrated with this as this should be the easy part, so any help would be fantastic thanks. | |||||||||
|
'java' 카테고리의 다른 글
객체지향 클래스 설계 5대원칙. SOLID (0) | 2016.10.12 |
---|---|
몇가지 유용한 getProperty (0) | 2016.09.19 |
hashtable vs concurrenthashmap (1) | 2016.08.16 |
multipart/form-data 자바에서 받는 여러가지 선택지! file upload (0) | 2016.08.11 |
hssf vs xssf (0) | 2016.08.10 |