I have installed NetBeans 7.0 manually, because only 6.9 is available in Ubuntu Software Center.
I tried to keep it in launcher, but after system restart it's gone.
How can I permanently add it?
Create a netbeans.desktop file with somewhat following content in your
Make sure you have correct path and keep in launcher is checked.
This is a bug in BAMF:
You can use this NetBeans plugin!
It is very useful!
Original page: http://danjared.blogspot.com/2011/10/unity-launcher.html
The answer of Kacharov is good (very good), but the Ubuntu Unity Launcher Plugin of Netbeans is already on Netbeans plugin and Google project website.
To make it more formal.
Following @sagarchalise's answer, here's a working (~/.local/share/applications/netbeans.desktop) contents for NB 7.0.1 on Ubuntu 11.04:
'Java Ayatana' plugin for Netbeans solve the following problems ( tested on 12.04 64bit)
How to install:
1) in Tools -> Plugins -> Settings add http://java-swing-ayatana.googlecode.com/files/netbeans-catalog.xml
now look for: 'Java Ayatana' Tools -> plugin -> Avariable plugin
2) or install manually from: http://code.google.com/p/java-swing-ayatana/
On 64bit with oracle java 7 if you experience this problem:
Thank you Dan Jaren for this plugin
On NetBeans 7.2RC1 launcher works fine by default. 'Java Ayatana' 's global menu integration works fine too.
I am on Ubuntu 14.10 with Netbeans 8.0 and Docky 2.0
I was able to solve the problem by doing the following steps from: http://wiki.go-docky.com/index.php?title=How_to_Customize_Window_Matching
1 Create netbeans.desktop file for Netbeans something like this (adjust for your netbeans path, version, etc.)
2 Start Netbeans
3 Open a terminal window and run:
4 A crosshair cursor will be displayed, click on netbeans window
The WMClass for the window should be printed in terminal, for me this was:
6 In the netbeans.desktop set the value for StartupWMClass like so:
7 Save the file and copy to;
8 Exit Docky
8.5 optional step: delete the docky desktop cache in
9 Start Docky
10 Drag your netbeans.desktop file from /usr/share/applcations in nautilus (etc.) into docky
11 Start up netbeans and see what happens :D