title: C++ to Java interface
body: <p>I am implementing a C++ to Java interface using JNI. I have a C++ function as follows:</p>
  
  <p><code>static int testhandler(void *arg, uint32_t stream, uint32_t func, const char* name, uint32_t funcgroup, uint32_t source);</code></p>
  
  <p>When I have to call this in Java using eclipse, I do it as follows:</p>
  
  <p><code>public void handle(int stream, int func,char name, int group, int token);</code></p>
  
  <p>But I am not able to read the const char part in Java using Eclipse. Does anybody know what the problem might be? Should I call the method in Java in some other manner? </p>