An Oracle blog about NetBeans for PHP

Terminal emulator

Today I would like to mention a new feature in NetBeans 6.9 that allows run terminal in NetBeans. The module is marked as experimental, but it can be useful, when you don't want to switch between a terminal and NetBeans. You can open it from the main menu Window -> Output -> Terminal (Experimental).  

When you invoke the action new window is opened in the output window area. The terminal window has two icons on left side.  

The  first icon opens terminal on local computer. You can do everything as usual.

The behavior is the same as in the real terminal.  You can run processes, other programs etc.

The second icon opens remote terminal. You have to have SSH access to the remote server to use this capabilities. 

The pictures are from my Ubuntu machine. I have not tried it on other platforms yet. If you have any problem with this module, please file a bug in our database for cnd product, terminalemulator category.

Join the discussion

Comments ( 20 )
  • robo47 Monday, June 7, 2010

    really nice feature, helps me directly running helpers and stuff inside netbeans

  • WebDevHobo Monday, June 7, 2010

    Question: is this cross-platform, or Linux only?

  • e.s.t Monday, June 7, 2010

    This is wicked cool!

  • Raymond Monday, June 7, 2010

    This is sweet! I think it will be very useful.

    How about adding a file manager that behaves similar to the windows explorer? I know about NetBeans "Files" module but it's not as flexible as the windows explorer.

  • optik Tuesday, June 8, 2010

    Terminal is nice, I also read somewhere about another new feature - spellchecker - can you introduce this one in one of the next post please?

  • tufan Tuesday, June 8, 2010

    I've been using the great plug-in "path tools", which also can open a terminal. and this plug-in can also open the shell to path of the current script. implementing this feature to the terminal emulator would be great.

  • tufan Tuesday, June 8, 2010

    I just recognized that, changing the font options of the emulator throws an exception, which also cannot be reported, since the font choose dialog has focus. (ubuntu 10.4 - dev build #1922)

    java.lang.IllegalArgumentException: the value should be from 0 to 100

    at javax.swing.SwingWorker.setProgress(SwingWorker.java:465)

    at org.netbeans.lib.terminalemulator.support.FontPanel$GetFontsWorker.doInBackground(FontPanel.java:226)

    at org.netbeans.lib.terminalemulator.support.FontPanel$GetFontsWorker.doInBackground(FontPanel.java:165)

  • optik Tuesday, June 8, 2010

    @tufan. path-tools is just a workaroud for unbelieved netbeans missed feauter - call external programs via config in IDE - bug https://netbeans.org/bugzilla/show_bug.cgi?id=35582

  • m.ozan.hazer Tuesday, June 8, 2010

    Hmm nice feature...

    Local terminal is unavailable under windows though... cmd.exe would be an option... or maybe powershell?

  • Petr Pisl Tuesday, June 8, 2010

    @WebDevHobo: I tried it today on Windows XP and it fails. I'm going to file a bug against the component.

    @Raymond: What do you expect from such explorer? Which features are you missing?

    @optik: Yes, spellchecker is another new feature. Definitely I will write about this next time.

    @tufan: I agree with you. Also I have discussed the possibility to open terminal directly for selected folder with the developers.

  • tufan Wednesday, June 9, 2010


    tried to vote for the issue, but I get a Proxy Error:

    The proxy server received an invalid response from an upstream server.

    The proxy server could not handle the request GET /people/login.

  • Raymond Wednesday, June 9, 2010

    Hi Petr,

    I would like to see a 2-pane file explorer with folders in one pane and files in the other. I would like to be able to create, sort, search and drag and drop files.

  • Petr Pisl Thursday, June 10, 2010

    @Raymond: The drag and drop you can do it when put the Files or Favorite View next to the Project View for example. You can change position of a window, when you drug the window over title tab and move it.

    The sorting you can set up in the properties of a folder.

    I don't know, whether it will fit you:).

  • nas servers reviews Tuesday, June 15, 2010

    tried the "local terminal" feature on windows 7 and failed:

    error message:

    Failed to start terminal: null

  • John Bruckler Monday, June 21, 2010

    I tried the terminal this morning on Windows XP SP2 and it worked - one caveat, I have Cygwin installed and in my PATH.

  • Pooky Saturday, July 10, 2010

    I tried terminal on Windows XP SP3 and i have failed.

    Error message - Failed to start terminal: null

    Where is problem?

  • Dietmar Tuesday, August 10, 2010

    Hi, is there an configuration to change the charset of the connection? We are using utf8, but the terminal is displaying 2 chars for on utf8-character. Im using windows-xp.

    Best regards

  • Petr Pisl Tuesday, August 10, 2010

    @Pooky: Do you have Cygwin installed?

    @Dietmar: Could you file a bug for product cnd and component terminalemulator? http://netbeans.org/bugzilla/enter_bug.cgi?product=cnd

  • guest Tuesday, October 12, 2010

    Very nice feature, quite useful for me for quick terminal tasks.

  • guest Tuesday, November 8, 2011

    How or hwere can I configure the shell?

    In cygwin (or mac) I can configure it using the .profile file.

    Where can I configure the Netbeans shell like that?

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.