Windows 7 Forums


Windows 7: Windows7 Java/JNA error

03 Dec 2009   #1

windows 7
 
 
Windows7 Java/JNA error

Hi,
ENV: NetBeans 6.8 beta RC1, Java 1.6.0_17, Java Native Access (JNA)

I have a Java/JNA application that behaves correctly on Windows7 when started inside NetBeans,
but not when run from the command line i.e. java -jar my_app.jar

kernel32.ReadFile() error: The handle is invalid

call fails reading an USB device asynchronously i.e. detect the device and then wait for data
- synchronous read is OK

Any suggestions as to how to debug this?
The app works correctly on Windows XP, both Netbeans and command line
Thanks

My System SpecsSystem Spec

Reply

 Windows7 Java/JNA error problems?



Thread Tools



Similar help and support threads for: Windows7 Java/JNA error
Thread Forum
Java error messages Browsers & Mail
Java error: NoClassDefFoundError Software
Java, update error Software
Java error help 1723 Software
Java - Syntax error Software


All times are GMT -5. The time now is 03:24 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32