title: How to get Class of primitive types from Java JNI
body: <p>This question is related to this question and its answer:</p>
  
  <p><a href="https://stackoverflow.com/questions/7082997/does-int-class-equal-integer-class-or-integer-type-in-java">Does int.class equal Integer.class or Integer.TYPE in Java?</a></p>
  
  <p>Since int.class is not equal to Integer.class how can I get int.class Class or others primitive types at the native level through JNI ? I need the jclass object that point to int.class not Integer.class.</p>