in Java 8, windows 10, i have a text app, i want to open a console and write something there,

first try is:

String [] cmd = {"cmd.exe", "/c", "start"};
ProcessBuilder f = new...