How to in Java console app run JAR file and get output of it and sent commands? I need for creation controller of minecraft server. Normally is starting minecraft server with BAT file with this code:
java -Xms1024M -Xmx1024M -jar craftbukkit.jar -o true
PAUSE
How to I get this in Java console application using netbeans? WITHOUT RUN CMD.