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 72545

Summary: Netbeans "Can't find dependent libraries" when JNI is used with non-default Java Platform
Product: java Reporter: tonywyant <tonywyant>
Component: ProjectAssignee: Jan Jancura <jjancura>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description tonywyant 2006-02-10 20:04:38 UTC
When using netbeans on a project with native (JNI) components. If
the "Java Platform" is set to anything but the default, one gets a:
    "Can't find dependent libraries"
error message when the native dll is loaded. 

To reproduce, create a simple jni program. The jni library should
be stored in some arbitrary location, which is specifed by 
by adding -Djava.library.path on the VM options.

If the default Java Platform is used, everything works as expected. However,
if a non-default VM is used, the library won't load.

To workaround this problem, one can change the default Java Environment
by editing the netbeans.conf file.
Comment 1 Jan Becicka 2008-11-13 14:08:05 UTC
Is this bugs still valid? Thanks
Comment 2 David Strupl 2009-03-31 15:56:48 UTC
Resolving all issues with milestone "future" as LATER. If you feel strongly that
it should be implemented please reopen and set the target milestone to "next".
Comment 3 Quality Engineering 2009-11-02 10:56:25 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX