wood burning stoves 2.0*
The moose likes Java in General and the fly likes Access to native API without JNI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Access to native API without JNI" Watch "Access to native API without JNI" New topic
Author

Access to native API without JNI

D Rog
Ranch Hand

Joined: Feb 07, 2004
Posts: 472

Not sure where to ask. I'm writing iPod uploader program, so I wish to add iPod eject function. I can do it on Linux just executing unmount command for a device, however I am not sure what should I call under Windows? I do not want to use JNI.


Retire your iPod and start with HD Android music player Kamerton | Minimal J2EE container is here | Light weight full J2EE stack | and build tool | Co-author of "Windows programming in Turbo Pascal"
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3720
    
  16
I think the command you need is rsm.


Joanne
 
Consider Paul's rocket mass heater.
 
subject: Access to native API without JNI