This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Now that the WM_CLASS is set correctly in Netbeans, the installer should specify StartupWMClass in the .desktop file to avoid the double icon problem in the Unity launcher in Ubuntu. Eg. for Netbeans 7.2, the netbeans-7.2.desktop file should include the following line: StartupWMClass=NetBeans IDE 7.2
*** Bug 217964 has been marked as a duplicate of this bug. ***
I am still unable to reproduce this "double icon" bug, so I cannot correctly setup the .desktop file to avoid it. Can I ask you for better info about your system - Ubuntu version, JDK version... Helpful also could be the IDE log - In NB main menu - View - IDE Log - System info block should be enough. Thanks
This has been a common problem with Unity and Java applications, also check out this: https://bugs.launchpad.net/unity/+bug/757991 The related issue partly fixes this. I'm currently running Ubuntu 12.04 with Unity and Java 1.6. ------------------------------------------------------------------------------- >Log Session: Friday, December 7, 2012 9:27:24 AM CET >System Info: Product Version = NetBeans IDE 7.2 (Build 201207171143) (#b6c037585768) Operating System = Linux version 3.2.0-33-generic running on amd64 Java; VM; Vendor = 1.6.0_26; Java HotSpot(TM) 64-Bit Server VM 20.1-b02; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_26-b03 Java Home = /usr/lib/jvm/java-6-sun-1.6.0.26/jre System Locale; Encoding = en_US (nb); UTF-8 Home Directory = /home/trygve Current Directory = /home/trygve User Directory = /home/trygve/.netbeans/7.2 Cache Directory = /home/trygve/.cache/netbeans/7.2 Installation = /usr/local/netbeans-7.2/nb /usr/local/netbeans-7.2/ide /usr/local/netbeans-7.2/java /usr/local/netbeans-7.2/apisupport /usr/local/netbeans-7.2/webcommon /usr/local/netbeans-7.2/websvccommon /usr/local/netbeans-7.2/enterprise /usr/local/netbeans-7.2/profiler /usr/local/netbeans-7.2/harness /usr/local/netbeans-7.2/extra /usr/local/netbeans-7.2/javafx /usr/local/netbeans-7.2/platform
Just to clarify my previous comment: The related issue I mentioned that partly fixes this, is this one: http://netbeans.org/bugzilla/show_bug.cgi?id=183739 (listed in the "See Also" of the current issue) The link to Unity issue tracker was only meant for background info.