Windows Serial Console Program In Netbeans 4,5/5 8749 votes
Active10 months ago
I have installed a JDK + NetBeans bundle from the downloaded .sh file.
Now I have the NetBeans shortcut on my desktop but I can't run NetBeans from the terminal.
The Netbeans IDE is great for development but sometimes we want to distribute the application so it can be run in Windows by double-clicking it. IDE popups Windows cmd console window at startup. I was investigating it little bit, and it is java.exe, what is launching. When I tried to launch NB with `netbeans.exe -console new`, then it opened cmd.exe, but didnt close. Libor Fischmeistr netbeans.org Log: #244325: IDE popups Windows cmd console window at startup. Space in Path on Windows. Typically you will find something like ' Profiler Agent: Options: C: Programin profiled application's console in that case and profiled application fails to start. There is a simple workaround to fix this problem: 8.3 DOS path format should be used, it doesn't contain spaces in path.
When I run:
NetBeans is not on the list and also I can't find it in the Ubuntu Software Center.
How do I run it from the terminal and how do I find it in the system?
When I installed Emacs using apt-get
it appeared in the main menu and I could launch it from the terminal straight away. How do these two installations differ?
David Edwards
4,27133 gold badges2525 silver badges4343 bronze badges
AlanAlan
4 Answers
dpkg is a debian package manager, since you have installed Nebeans by a (presumably local) script, it will not be listed in dpkg -l.
Retrieve an application's command from it's desktop file:
When you have an application installed of which you don't know the command, but you do have a desktop file, you can read it from the desktop file's content. The link you have on your desktop is a desktop file. Look for a line, starting with 'Exec='. What comes after that string is the command you are looking for.
Make the application available in Dash:
Normally, applications install a desktop file in /usr/share/applications
(like emacs does). If a desktop file is located in either that location or in ~/.local/share/applications
, it appears in Dash automatically, so if you copy the desktop file into ~/.local/share/applications
, it will appear in Dash after next log in.
Open an application by (only) it's binary file name (or not):
Netbeans did not open on the command netbeans
because the shell does not know the path to your binary file. If binary files are located in /usr/bin
(the default path to application's binary files) they will open right away, without the path-prefix. That is the case for example with emacs.
If an application does not install its binary file in /usr/bin
, there are three possibilities; either the application's desktop file's execute line includes the path to the file, as you can see for example in the execute line of the file-explorer indicator
's desktop file: /opt/indicator-file-explorer/bin/indicator-file-explorer
, or the path to the binary file is added to $PATH (/etc/environment
), so the shell will search for binary files in that directory too, or the application installs a link to the binary file in /usr/bin
. All three options do occur, no matter the way an application is installed.
If you installed your application locally, it would be a bad idea to (try to-) create a link to the application's binary file from a global directory, such as /usr/bin
; other users would be stuck with a dead link, because they have no valid permissions in your home directory. Therefore, the easyest way is to create a local bin directory (~/bin
) and create a link to the local binary file from that directory (ln -sf). That way you can run your locally installed Netbeans by the single command netbeans
.
Netbeans Download For Windows 7

Jacob Vlijm
Jacob Vlijm68.8k1010 gold badges145145 silver badges248248 bronze badges
Assuming you downloaded the 7.4 version
Download free grundig tk 600 service manual software. If you installed netbeans from .sh installer usingsudo
then the default command to run netbeans is :
if you installed netbeans withoutsudo
then the default command is :
kirchberger
kirchberger65911 gold badge55 silver badges1616 bronze badges
Don't know if this might help but what works for me is assuming you are the the current home directory of your user
I installed netbeans by downloading the sh installer from their website. Just curious on how to run netbeans via terminal and this worked for me.
KiX OrtillanKiX Ortillan
in Linux Mint 19 Cinnamon use sh netbeans
for example ~/netbeans-8.2/bin$ sh netbeans
Teguh SiswantoTeguh Siswanto
Not the answer you're looking for? Browse other questions tagged command-linenetbeans or ask your own question.
Join the DZone community and get the full member experience.
Join For Free
In the beginning of November 2011, I posted an article on NetBeans Zone about implementing AVR microcontroller support for NetBeans IDE. For the last month (in my spare time) I have been working to create the first plugin that brings the IDE closer to realizing that goal.
The RS232 communication plugin is almost completely finished. The plugin uses the RXTX library (http://rxtx.qbang.org/wiki/index.php/Main_Page) and can communicate with any RS232 device, such as the very popular Arduino development boards.
The RS232 communication plugin is only the first of the planned plugins that I wish to create to make NetBeans IDE more compatible for the embedded engineer.
See http://java.net/projects/nbplugin-avr, the project's homepage.
The RS232 window is capable of receiving RS232 communication data and display this data in either ASCII (plain text), hexadecimal, octal or binary values; sending data to the device in either ASCII or hexadecimal values; logging the data to a log file; changing COM port, baud, # databits, parity, stopbits, and some handy UI stuff:
The plugin also has some public API packages that other NetBeans RCP developers can use to implement RS232 communication in their own applications.

This plugin is tested on Windows 7 and Mac OS X. See http://java.net/projects/nbplugin-avr for the latest release and sources (GPL-2.0).
I am currently looking for people who are willing to join the project and help develop and/or test the plugin!
Next step, for AVR support in NetBeans IDE, will be to implement basic AVRDUDE functionality.
and HAPPY NEW YEAR!
Like This Article? Read More From DZone
Opinions expressed by DZone contributors are their own.