Sorry, confirm it is not netbeans bug. I run it in prompt by exactly same mvn command. The system.out.print() not working:
mvn -Dexec.args="-classpath %classpath hk.quantr.riscv_simulator.Simulator" -Dexec.executable="C:\Program Files\Java\jdk-13.0.2\bin\java.exe" -Dexec.classpathScope=runtime -Dmaven.ext.class.path="C:\Program Files\NetBeans-11.3\netbeans\java\maven-nblib\netbeans-eventspy.jar;C:\Program Files\NetBeans-11.3\netbeans\java\maven-nblib\netbeans-cos.jar" -Dfile.encoding=UTF-8 org.codehaus.mojo:exec-maven-plugin:1.5.0:exec so it probably a bug of maven or org.codehaus.mojo:exec-maven-plugin Thanks Gentlemen. ________________________________ From: Peter Cheung Sent: Wednesday, June 3, 2020 12:57 AM To: [email protected] <[email protected]> Subject: System.out.print(">") not working when F6 Hi System.out.print(">") not working when F6, nothing print out on screen. If I pack the program into jar and run it in dos prompt, it works. I don't know it is mvn bug or netbeans bug. I am using Netbeans 11.3 with JDK 13.0.2. Please help. Thanks >From Peter
