Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

USB ENABLE/ Disable

 
Puvanarajan Mohanaram
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I want to Enable, Disable the usb port and Eject the pen drive using java. It is urgent. Please help me....
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would have to call system APIs (Windows API, or whatever OS you're asking about) using JNI.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!