Java USB Camera Tools handle cameras that support the Picture Transfer Protocol (PTP) standard, a vendor-neutral standard for talking to digital cameras using USB. It provides a protocol library and command line tools, and it works nicely with GCJ, the GNU Compiler for Java.