Arkimedes edited answer sounds like a good solution to me. I would warn you though, looking into and using Java Native Interface (JNI) is not easy. It's nothing like pure Java, or so i have read.
Printable View
Arkimedes edited answer sounds like a good solution to me. I would warn you though, looking into and using Java Native Interface (JNI) is not easy. It's nothing like pure Java, or so i have read.
I had just played around with loading libraries in java, and I think now the best way to do what you'd like is to make a dll that does what you want with the CD rom; load it via System.loadlibrary("MyLibrary"), and create a public native void openCD(); method in your class.
It works for writing to the bootsector of a floppy disk ;)