title: I am trying to generate .h file in android-studio for NDK
body: <p>Can anyone figure out whats the issue in this command.</p>
  
  <p>i used command for generating is:</p>
  
  <pre><code>-classpath $Classpath$ -v -jni $FileClass$
  </code></pre>
  
  <p>it throws exception:</p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException: Not a valid class name: Files\Java\jdk1.8.0_102\jre\lib\charsets.jar;C:\Program
  at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:129)
  at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:107)
  at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:64)
  at com.sun.tools.javah.JavahTask.run(JavahTask.java:503)
  at com.sun.tools.javah.JavahTask.run(JavahTask.java:329)
  at com.sun.tools.javah.Main.main(Main.java:46)
  </code></pre>
  
  <p>MyNDK.class:</p>
  
  <pre><code>public class MyNDK {
  
  // Used to load the 'native-lib' library on application startup.
  static {
      System.loadLibrary("MyLibrary");
  }
  
  public native int getHelloSum(int[] val,int size);
  
  }
  </code></pre>
  
  <p>Setting for NDK:
  <a href="https://i.stack.imgur.com/GxnJa.png" rel="nofollow"><img src="https://i.stack.imgur.com/GxnJa.png" alt="NDK SETTING"></a></p>