1

We're developing a kind of gadget with usb connection but would not to force our users to install any driver and program in their computers, so... ¿it's possible to develop a java applet that work in linux and windows and have usb access? (We're java developers but nerver before worked with applets)

user178973
  • 228
  • 1
  • 3
  • 8

2 Answers2

5

I guess you have chosen a USB API. This is one option. The steps you have to take in order to make it work as an applet are:

  • digitally sign the applet - it would require permissions to use the USB API
  • put the .jar file of the usb api in a folder on your web server and include it in the archive attribute of the applet tag(s). See my answer to this question for details.
Community
  • 1
  • 1
Bozho
  • 588,226
  • 146
  • 1,060
  • 1,140
0

Does your app's interface need to be embedded in a web page? If not, you might want to look into Java Web Start, which lets you run Java Applications by clicking on a link in a browser.

Chad Okere
  • 4,570
  • 1
  • 21
  • 19