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.
Created attachment 158138 [details] Info on error Under Windows 10 I have a project that has a Java GUI that calls a native C++ library. Running this project from within the IDE (ant -f D:\\Users\\pwof\\Documents\\Argus\\Java\\tauargus -Dnb.internal.action.name=run run) gives UnsatisfiedLinkError (see attachment errorlog.txt) If I run the same command (ant -f D:\\Users\\pwof\\Documents\\Argus\\Java\\tauargus -Dnb.internal.action.name=run run) from the command-line (cmd.exe) I get no error and the program runs as expected. This only happens under Window 10. Under Windows 7 it works both from the IDE and the command-line.
Work around: Add the root directory of the project (in my case: D:\\Users\\pwof\\Documents\\Argus\\Java\\tauargus) to the PATH environment variable of Windows 10. Then it works again from inside the IDE. In that project-root-directory the dll's are located. I can run the command "ant -f D:\\Users\\pwof\\Documents\\Argus\\Java\\tauargus -Dnb.internal.action.name=run run" from the command-line (cmd.exe) from within any directory (not necessarily the project-root-directory; the PATH does not need to contain that project-root-directory either).