On 25.10.2013 16:37, Leonardo sarraff wrote:
> Good morning Alex, i did what you said, i created the javax.usb.properties
> and place it in the project folder., but a got this output below. I'm
> seding you my code. Thanks for your attention!!!
> ...
> # A fatal error has been detected by the Java Runtime Environment:
> # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x70884ba7, pid=3672,
> tid=512
libusb has some issues on Windows when communicating with devices which
are not explicitly using a libusb compatible driver. For these devices
you may get false and useless descriptor data and in some situations it
may even crash as in your case.
For Windows I recommend scanning for the exact device you want to
communicate with (And for which you have created and installed a libusb
driver) and then only play around with this device.
The upcoming version 1.2.0 of usb4java will use the latest libusb 1.0.18
which hopefully works better on Windows. But even with this version you
might experience trouble with this DumpDevices example on Windows.
--
Klaus Reimer <
http://www.ailis.de/~k/>
[2FC4 CCA0 C03B 1E5F 1ACC 94D6 6461 426C E734 75A1]