Problem half solved I had this:
java.io.IOException: CreateProcess: dir error=2
at java.lang.Win32Process.create(Native Method)
at java.lang.Win32Process.<init>(Unknown Source)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at de.sl.cdwriter.CDWriter.main(CDWriter.java:28)
when executing this:
Process p = Runtime.getRuntime().exec("cdrecord -scanbus");
It seems you have to use something like cmd.exe /c before cdrecord
But I am still getting no output, I am getting a message that cdrecord
is either wrongly written or the file is not found.
Can you help now?