Is there anyway for me to run my code in netbeans and get the output in a terminal window rather than the output window of netbeans? (I'm using netbeans 8.0.1 on ubuntu 12.04) Thanx in advance
Try to run the code on cmd and try. If it runs successfully, check if you are executing the java class or the project in total. That may be the reason of no output. Else then try reinstalling your NetBeans IDE.
We right-click with the mouse and select the Save As... option or press the shortcut Ctrl+S (in Windows). We see a dialog where we can select the filename for the output. Once we press the OK button the contents of the output window is saved to the file.
If you have a C++ project:
Right click on the project -> select properties -> select Run -> change console type from internal terminal to external terminal.
For Java applications, I surprisingly couldn't find any option: Use external terminal. The best I have found now is to make the output window float (right click on the output window and select float group).
For C++ projects (in newer versions of NetBeans; not sure about Java): Left click on File -> Project Properties -> Run -> Console Type -> External Terminal
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With