Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows7 Java/JNA error

03 Dec 2009   #1

windows 7
Windows7 Java/JNA error

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

My System SpecsSystem Spec


 Windows7 Java/JNA error

Thread Tools

Similar help and support threads for2: Windows7 Java/JNA error
Thread Forum
What java install in windows7? Software
Possible JAVA Error?, Cannot run any programs requiring JAVA? Software
Java installation error Software
Mincraft Java Error Gaming
Java Installation Error Software
Java - Syntax error Software

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 03:41 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

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 33