***UNCHECKED*** Re: Netbeans and default console issue.

2018-09-18 Thread Geertjan Wielenga
I don't know, but the reason why is clear -- on the command line, you're running your Launcher from a JAR file, while in NetBeans what you're running is the compiled Launcher.class in the 'build' folder. Gj On Wed, Sep 19, 2018 at 8:47 AM, A Z wrote: > If I use: > > *ProcessBuilder builder = ne

Netbeans and default console issue.

2018-09-18 Thread A Z
If I use: ProcessBuilder builder = new ProcessBuilder("java", "-Xmx8192m", "-cp", "dist/MemoryLauncher.jar", "Project.Main"); the Netbeans console will detect both Main methods, but the default Windows console won't. If I use: ProcessBuilder builder = new ProcessBuilder("java", "-Xmx8192m", "