June 23rd, 2006, 10:30 PM
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.
June 23rd, 2006, 10:43 PM
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
"The Texan turned out to be good-natured, generous and likeable. In three days no one could stand him." Catch 22
by Joseph Heller.
Buddies? I have no buddies...
Give the BSD daemon some love (proud FreeBSD user)