ben greenhalgh wrote:i was wondering is it possible to create a virtual drive using java
No. Java doesn't have APIs at that low a level. Java's APIs start on top of the existing file system. You'd have to do all the real work in native code.
can you tell me how i can do it?
This site isn't really suitable for such broad, "How do I write application X?" questions.