This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other JSE/JEE APIs and the fly likes plz answer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "plz answer" Watch "plz answer" New topic

plz answer

Dishi Malhotra

Joined: Dec 13, 2000
Posts: 22
how can i detect the drive from java like its a: c: or cd drive and after detecting the drive i want to detect the media no of the cd rom or any drive
how can i call this api (ExitWindowsEx(EWX_SHUTDOWN, 0&)) of windows i java one method i think is JNI but plz tell me how can i define JNI i have never define any JNI
I agree. Here's the link:
subject: plz answer