CD drive name(like d: or e: or f:), preferably using Javacode..?
No you cant in standard Java. And you shouldnt be writing software that needs iteither. You can make some assumptions based on write of a certain directory.This could leave you with network drives that do not have write permissionthough.
And remember that some computers have more than one CD drive anyway.