Here is an interesting artice from Jeff Friesen discussing how to interact with a USB device using java:
Java and USB by Jeff Friesen — Want to use a USB device in Java? Some with native abstractions, like mass-storage drives, work as you'd expect, but many devices like webcams and game controllers are simply invisible to [...]