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.

Bug 255708 - When I click Netbeans icon on taskbar (I pinned it to taskbar), it runs an creates a new icon on taskbar.
Summary: When I click Netbeans icon on taskbar (I pinned it to taskbar), it runs an cr...
Status: REOPENED
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P3 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 04:01 UTC by huangnam
Modified: 2015-11-16 06:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (37.77 KB, text/plain)
2015-10-06 04:01 UTC, huangnam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description huangnam 2015-10-06 04:01:44 UTC
Product Version = NetBeans IDE 8.1 Beta (Build 201508041349)
Operating System = Windows 8.1 version 6.3 running on amd64
Java; VM; Vendor = 1.8.0_51
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.51-b03
Comment 1 huangnam 2015-10-06 04:01:49 UTC
Created attachment 156534 [details]
IDE log
Comment 2 Libor Fischmeistr 2015-10-06 09:54:37 UTC
Please check if the taskbar shortcut launches netbeans.exe or netbeans64.exe
Comment 3 huangnam 2015-10-07 01:49:40 UTC
(In reply to Libor Fischmeistr from comment #2)
> Please check if the taskbar shortcut launches netbeans.exe or netbeans64.exe

The taskbar shortcut's target is "C:\Program Files\NetBeans 8.1 Beta\bin\netbeans.exe"
Start in: "C:\Program Files\NetBeans 8.1 Beta"
Comment 4 Libor Fischmeistr 2015-10-07 06:48:30 UTC
(In reply to huangnam from comment #3)
> The taskbar shortcut's target is "C:\Program Files\NetBeans 8.1
> Beta\bin\netbeans.exe"
> Start in: "C:\Program Files\NetBeans 8.1 Beta"

Then the reason is simple, you are launching NetBeans on 64bit Java, but using 32bit launcher. Please use netbeans64.exe and the issue with the second icon in taskbar will disappear.
Comment 5 huangnam 2015-10-07 10:23:59 UTC
(In reply to Libor Fischmeistr from comment #4)
> (In reply to huangnam from comment #3)
> > The taskbar shortcut's target is "C:\Program Files\NetBeans 8.1
> > Beta\bin\netbeans.exe"
> > Start in: "C:\Program Files\NetBeans 8.1 Beta"
> 
> Then the reason is simple, you are launching NetBeans on 64bit Java, but
> using 32bit launcher. Please use netbeans64.exe and the issue with the
> second icon in taskbar will disappear.

Thank you! That's a solution.
But I think there is an issue when netbeans creates shortcut in startmenu.
I install netbeans 64bit, but it creates shortcut links to netbeans.exe instead of netbeans64.exe.
Thank you very much for your help!
Comment 6 Libor Fischmeistr 2015-10-07 11:07:54 UTC
(In reply to huangnam from comment #5)
> Thank you! That's a solution.
> But I think there is an issue when netbeans creates shortcut in startmenu.
> I install netbeans 64bit, but it creates shortcut links to netbeans.exe
> instead of netbeans64.exe.
> Thank you very much for your help!

That may be an issue. You can attach the installer log (http://wiki.netbeans.org/NBIFAQ#What_information_is_needed_for_a_successful_bug_report.). Then we will decide if the new issue should be reported.
Comment 7 gameshas 2015-11-16 06:50:45 UTC
the problem persists in netbeans 8.1 final.
in this release the there are two separate downloads available, 32bit and 64bit. Previously only there was only one. when 64bit version is downloaded it still creates a shortcut to 32 bit version.
Netbeans desktop shortcut target is:
"C:\Program Files\NetBeans 8.1\bin\netbeans.exe"
 
it should be:
"C:\Program Files\NetBeans 8.1\bin\netbeans64.exe"