I have a maven-based NetBeans Platform app now using the 9.0-vc3 version of the 
platform libraries. During development, I'm running the application from the 
IDE, which works fine on Java 8.

However, when I switch to Java 9 or Java 10, there is no console output from 
the platform application shown in the output pane of the IDE, except some 
initial build messages. So nothing that is printed via "System.out.println()" 
or logged via Logger from the application itself is shown in the IDE's Output 
pane. If I run the application manually from the Windows command line, all 
messages show up just fine.
Does anyone have an idea of how to solve this?

There was a similar bug several years ago: 
https://netbeans.org/bugzilla/show_bug.cgi?id=235193 . That one could be fixed 
by changing the nbm-maven-plugin to a newer version. This time I'm already at 
the latest version--cloning the latest development version of nbm-maven-plugin 
and using that one did not help either.

-- Eirik

====== Example Output Pane ======
<various maven messages>
Integrity verification passed.
Created NetBeans module cluster(s) at 
Z:\Ultorg\ultorg_src\Modules\desktop-application\target\ultorg
--- nbm-maven-plugin:4.1:run-platform (default-cli) @ desktop-application ---
Executing: cmd.exe /X /C 
"Z:\Ultorg\ultorg_src\Modules\desktop-application\target\ultorg\bin\ultorg.exe 
<lots of arguments>
<no further messages, despite app logging and printing lots of messages>

Reply via email to