i am triyng to generate header file for native use (c/c++) from a java file using eclipse. from the command line i can only reach the javah when i am in this location :
C:\Program Files (x86)\Java\jdk1.7.0_51\bin>
but i cant reference my java class like so :
C:\Program Files (x86)\Java\jdk1.7.0_51\bin>javah -jni com.or.jnihelloworld.nativeclass
because the class located outside of this folder at :
C:\Users\Or Azran\workspace\JniHelloWorld\src\NativeLib.java
and i want to make this file in to a jni folder in :
C:\Users\Or Azran\workspace\JniHelloWorld\jni
how can i do it from command line? a good toturial will be also great