I have a small test program which runs perfectly in the JBuilder 6 debugger. When I make a .jar file and run it I get an error
>java -jar testadll.jar Start o
You should use a version of jna.jar, that supports 64 bit, for example jna-4.1.0.jar or jna-3.4.0.jar.