Can't run Java example project

Hello,I did the following steps in order to run the example:- opened the example project in Netbeans- In DocumentEditorView I changed TurboActivate.VersionGUID = "..." with my GUID- In the project folder I placed a folder TurboActivate with TurboActivate.dat inside, and two folders with TurboActivate dll's: x64, x86

When I run the project, I have the error below.Please advise.

Exception in thread "AWT-EventQueue-0" java.lang.Error: The system cannot find the path specified.

at com.sun.jna.Native.open(Native Method) at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:171) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398) at com.sun.jna.Library$Handler.<init>(Library.java:147) at com.sun.jna.Native.loadLibrary(Native.java:412) at com.sun.jna.Native.loadLibrary(Native.java:391) at turboactivate.TurboActivateNative.<clinit>(TurboActivate.java:1082) at turboactivate.TurboActivate.SetPDetsLocation(TurboActivate.java:932) at documenteditor.DocumentEditorView.<init>(DocumentEditorView.java:29) at documenteditor.DocumentEditorApp.startup(DocumentEditorApp.java:14) at org.jdesktop.application.Application$1.run(Application.java:171) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

The folder paths have to be "win-x86" and "win-x64". See: Using TurboActivate with Java. If you step through the code and add breakpoints you'll see the path it's trying to load from.

Yes, I changed it, but it still doesn't work. Currently I have in the project's dist/ folder:

DocumentEditor.jarTurboActivate/ TurboActivate.dat win-x86/ TurboActivate.dll win-x64/ TurboActivate.dll

But I sill get the error below. I also tried to put the TurboActivate/ in the projects folder (above dist/), but it didn't help.

Exception in thread "AWT-EventQueue-0" java.lang.Error: The system cannot find the path specified.

at com.sun.jna.Native.open(Native Method) at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:171) at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:398) at com.sun.jna.Library$Handler.<init>(Library.java:147) at com.sun.jna.Native.loadLibrary(Native.java:412) at com.sun.jna.Native.loadLibrary(Native.java:391) at turboactivate.TurboActivateNative.<clinit>(TurboActivate.java:1082) at turboactivate.TurboActivate.SetPDetsLocation(TurboActivate.java:932) at documenteditor.DocumentEditorView.<init>(DocumentEditorView.java:29) at documenteditor.DocumentEditorApp.startup(DocumentEditorApp.java:14) at org.jdesktop.application.Application$1.run(Application.java:171) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

The variable location gets the following value:"D:\turbo\TurboActivate\API\Java\build\classes\TurboActivate\TurboActivate.dat"But it looks unusual location for a library, and I can't place TurboActivate\ folder into it because there is already a folder called "turboactivate\"

On Windows, lowercase and uppercase names for filenames/directories are interchangeable.

After "clean and build", this folder is deleted. Is there a way to put the TurboActivate/ in the project's folder and make it work?

If you modify TurboActivate.java, then yes.