Re: Netbeans Console issue with separate Java programs.

2018-09-18 Thread Paul Franz
What you need to do is have the output of the spawned process redirected to the STDOUT and STDERR of the current process. The following should work: ProcessBuilder pb = ProcessBuilder.command (“java”, “-Xmx8192m”, “-cp”, “MemoryLauncher.jar”, "Project.Main”); pb.inheritIO();

Netbeans Console issue with separate Java programs.

2018-09-17 Thread A Z
I am running Netbeans 9 64 bit on 64 bit Windows 10 Home Edition. I am calling an additional full java program from with the source code of an initial one, in order to increase the 64 bit memory limit: Process process = Runtime.getRuntime().exec("java -Xmx8192m -cp MemoryLauncher.jar Project.Mai