Found an issue with intellij 10.5 community edition. When you launch your application it includes it’s version of jnidispatch.dll into your programs launch path. This can cause:
java.lang.UnsatisfiedLinkError: com.sun.jna.Native.pointerSize()I
When you attempt to launch your program and you were expecting to use a different version of the jnidispatch.dll. Fix is to remove the jnidispatch.dll from your intellij distribution folder.