We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello 2gether,
I want to call a sketch from a servlet in a independent process (to integrate Sketch in a browser application).
First i created an exe file and tried to call this with:
String cmd = "cmd /c start C:\\xx\\sketch.exe";
Process process = Runtime.getRuntime().exec(cmd);
Next i created a .bat-file and tried to start this....
String cmd = "C:\\Users\\xx\\start.bat";
Process process = Runtime.getRuntime().exec(cmd);
But the Sketch doesnt run. I have no Errors on the console.
Next i created a Java class from pApplet an developed the Sketch in eclipse.
But what is the best way to manage a sketch in java?