[en] Keep one Netbeans icon in your OS X Finder Dock

After installing Netbeans, you drag the Netbeans.app in your dock. And each time you start Netbeans, you have a second Netbeans icon which appears… That’s boring.

Here is the solution :

Go into the /Applications/Netbeans folder, and open the Netbeans package.

Then open etc/netbeans.conf

You should see in the file :

# Default location of JDK, can be overridden by using --jdkhome [<dir>:
#netbeans_jdkhome="/path/to/jdk"

Just add netbeans_jdkhome="/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/" after theses lines.

Restart Netbeans and voilà !

See something wrong here ? Please tell me with an issue on Github, or just some words on twitter at @MoOx.

About the author

Maxime Thirouin, known as MoOx on the web, is a freelance front-end web developer living in Toulouse, France. When he is not behind his screen like a geek, he loves to do the handyman in his wood house or having fun with is awesome wife. You can check what he codes on Github or just take a look at what he shares on Twitter.


Comments