aspose file tools *
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Access to native API without JNI" Watch "Access to native API without JNI" New topic

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

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

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Access to native API without JNI