PDA

View Full Version : A cd is bootable or not?



oguzhantepe
March 4th, 2009, 06:53 PM
Hi everyone.

Can anyone help me about how to determine a cd is bootable or not ?
the problem is it should be done with using java.

I m waiting for your help.

Thanx.

nvteighen
March 4th, 2009, 09:24 PM
No idea, but that sounds as a job for a low-level language like C... or, at least, for a Java binding to a C library.

Are you sure Java supports that kind of operations?

oguzhantepe
March 4th, 2009, 10:04 PM
thanx for your replay.
Have you got something to say me about how can I get this. is it possible to determine it with reading some specific sectors on cd with using shell commands? Firstly I should learn the key points. :)

jimi_hendrix
March 4th, 2009, 10:36 PM
No idea, but that sounds as a job for a low-level language like C... or, at least, for a Java binding to a C library.

Are you sure Java supports that kind of operations?

yes, just use the java equivilent of system(""); that would return whats printed to the shell, parse output, and boom done

Can+~
March 4th, 2009, 11:29 PM
Wait, do you want to make a Bootable CD, or do you want to check if a CD is bootable or not?

oguzhantepe
March 5th, 2009, 09:20 AM
Actually I want to check it with a piece of code or command in java environment.

nvteighen
March 5th, 2009, 07:01 PM
yes, just use the java equivilent of system(""); that would return whats printed to the shell, parse output, and boom done
No, that is not what I mean. That would just delegate the work to another program, not give your program the ability.