How can I get Netbeans output in a terminal window?

Is there anyway I need to run my code in netbeans and get the output in a terminal window and not in the netbeans output window? (I am using netbeans 8.0.1 on ubuntu 12.04) Thanks in advance

+3


source to share


2 answers


If you have a C ++ project:

Right click on the project β†’ select properties β†’ select Run β†’ change the console type from internal terminal to external terminal.



For Java applications, I was unexpectedly unable to find any option: Use external terminal . The best I've found so far is to make the output pop up (right click on the output and select the floating point group).

+3


source


For C ++ projects (in newer versions of NetBeans, not sure about Java): Left click File -> Project Properties -> Run -> Console Type -> External Terminal



+1


source







All Articles