-
April 30th, 2004, 02:47 AM
#1
Banned
Open cd drive in JAVA
During my computer science class my friend and i were wondering how to open a cd-rom door in JAVA. This is only for curiosity reasons. We didnt ask our teacher because we knew he wouldnt know. He didnt know how to change the text in a textbox so i doubt he would know this.
-
May 6th, 2004, 11:26 AM
#2
Im not big on Java, but theres no standard Java api functions for doing this...
You'll have to use a runtime exec method apparently (I asked my friend) Im not to sure what it means but my google will help with that...
i2c
-
May 6th, 2004, 11:26 AM
#3
Im not big on Java, but theres no standard Java api functions for doing this...
You'll have to use a runtime exec method apparently (I asked my friend) Im not to sure what it means but my google will help with that...
i2c
-
May 6th, 2004, 03:58 PM
#4
AFAIK, you can't do that with Java per se. However, you can either use Runtime.exec() which is unpredictable to say the least or use JNI, which is pretty much a pain to use. JNI is probably your best bet though because you can actually write the function in C/C++ and call it from within Java.
Cheers,
cgkanchi
-
May 6th, 2004, 03:58 PM
#5
AFAIK, you can't do that with Java per se. However, you can either use Runtime.exec() which is unpredictable to say the least or use JNI, which is pretty much a pain to use. JNI is probably your best bet though because you can actually write the function in C/C++ and call it from within Java.
Cheers,
cgkanchi
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|