title: How to create new String value in Java JDI?
body: <p>I'd like to invoke a method in JDI which has <code>String</code> as a parameter. So first I will have to create a <code>String</code> value(<code>com.sun.jdi.Value</code>) but the only way which comes to my mind is to use the <code>newInstance()</code> method on <code>ClassType</code>, but this method also takes <code>Value</code> as parameter just like the <code>invokeMethod()</code> which I wanted to call in the first place. So I still need a <code>com.sun.jdi.Value</code> to create a <code>String</code>.... But how can I create the String without any <code>com.sun.jdi.Value</code>?</p>