Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我测试了以下课程:
public class PrintLine { public static void main(String[] args) { System.out.println("print line!"); } }
Netbeans 说:
run: BUILD SUCCESSFUL (total time: 0 seconds)
在日食中 I read >> print line! <<
I read >> print line! <<
我能做些什么?
Netbeans 可能设置为为Output打开不同的窗口。您正在查看的是编译器输出。也许您只是说build 或clean and build。您需要按下带有运行的小播放符号的按钮, 或者您可以使用键:F6。
如果输出窗口没有自动打开,请转到菜单窗口->输出->输出 (或使用键ctrl + 4)