Wednesday, January 26, 2011

javax-usb deployment

Control USB using Java. Observe and Listen to USB Events with Java.

1. download http://sourceforge.net/projects/javax-usb/files/ ri-linux
2. $ export JAVA_HOME=/usr/lib/jvm/java-6-sun ;echo $JAVA_HOME
3. /usr/lib/jvm/java-6-sun/include/linux$ sudo ln -s ../jni.h
4. compile the c interface $ ./javax-usb-ri-linux/jni/make


Reference
http://javax-usb.org/ - main site
http://javax-usb.cvs.sourceforge.net/javax-usb/javax-usb-ri-linux/ - source

No comments:

Trying out the Dart Analysis Server

I wanted to see how the Dart Analysis Server was put together and worked. I started looking to see how I could wire it up and try out the co...