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
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", "