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.
When using jdk7 on Linux (I'm using jdk7u4 64bit) to execute Netbeans, a drag image (small copy of the window content) is not displayed when dragging for example an editor window. Instead of the drag image the normal drag cursor is used. I think the problem is that the native code libraries of jdk7 are no longer in the LD_LIBRARY_PATH. The problem can be fixed by inserting the following lines in the Netbeans start shell script (<NB_INST_DIR>/bin/netbeans) at line 245: # Make sure native code libraries of jdk7 are found JDK_DIR="${netbeans_jdkhome}" export LD_LIBRARY_PATH=${JDK_DIR}/jre/lib/amd64:${JDK_DIR}/jre/lib/i386:${LD_LIBRARY_PATH} Best regards, Martin PS: Applications based on the Netbeans platform are affected as well. Setting the LD_LIBRARY_PATH helps too.
Created attachment 120443 [details] Modified Netbeans start script fixing the problem.
*** Bug 213600 has been marked as a duplicate of this bug. ***
Thanks for the patch but it's a bit too risky now when 7.2 is about to be released. It'll be fixed in the 7.2.1 patch later on.
If it is not planned to fix this problem in the jdk (bring back the behavior as it was in jdk5 and jdk6) you should not forget to fix the start scripts created for applications based on the Netbeans platform as well. Best regards, Martin
core-main d7b420b2932f
Integrated into 'main-golden', will be available in build *201206280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/d7b420b2932f User: S. Aubrecht <saubrecht@netbeans.org> Log: #213687 - Make sure native code libraries of jdk7 are found
The regression issue 216043 caused by http://hg.netbeans.org/main-golden/rev/d7b420b2932f was fixed http://hg.netbeans.org/core-main/rev/47e19c46040b So it's necessary to do backport both changesets together. Note: patching nbexec launcher is still a bit risky and must be tested well on all affected platforms.
(In reply to comment #7) > The regression issue 216043 caused by > http://hg.netbeans.org/main-golden/rev/d7b420b2932f was fixed > http://hg.netbeans.org/core-main/rev/47e19c46040b > > So it's necessary to do backport both changesets together. Note: patching > nbexec launcher is still a bit risky and must be tested well on all affected > platforms. More precise, delivering patches nbexec via auto update might be risky and must be tested well, incl. IDE installed as admin vs IDE installed as user.
Because we will distribute Patch 1 just through an UCs, I propose to move this into the next patch.
verified. PLease backport together w/ issue 216043
transplanted to release72 branch as db4a4ed9ecc4 and 6581fdd67f92
Integrated into 'releases', will be available in build *201210100934* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/6581fdd67f92 User: S. Aubrecht <saubrecht@netbeans.org> Log: #213687 - Make sure native code libraries of jdk7 are found (transplanted from d7b420b2932f5ae2ca46ad9e930625adca21e59f)
nbexec contains correct code. Functionality of this code was verified previously in trunk.