title: How to replace " \ " with " \\ " in java
body: <p>I tried to break the string into arrays and replace <code>\</code> with <code>\\</code> , but couldn't do it, also I tried String.replaceAll something like this <code>(&quot;\&quot;,&quot;\\&quot;);</code>.</p>
  <p>I want to supply a path to JNI and it reads only in this way.</p>