title: converting the input string as a hexa number representation
body: <p>I take a string like "abcd" as a command line argument in my java code. I need to pass this string to my C JNI code which should take this string and use it as a shared memory identity.
  I am looking to know how and where I can make this string to be representing a hexa value.</p>