Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to write a CD/DVD in Java  RSS feed

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I am creating a small program and that program should have the facility of writing the files that it generates, if the user wanted to. But I really don't know how to write files to a CD\DVD in java. I surf the web a lot for this, but no good. Please help
 
Wouter Oet
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think it is possible. Each cd-drive has it's own driver coupling that to your java application will be very tricky.
I would drop the cd writing requirement. If a user really wants to write it to a cd then he/she can use the favourite cd-burning application.
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouter Oet wrote:I don't think it is possible. Each cd-drive has it's own driver coupling that to your java application will be very tricky.
I would drop the cd writing requirement. If a user really wants to write it to a cd then he/she can use the favourite cd-burning application.


So, is this mean JAVA can't do that? I don't think so...
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yohan Weerasinghe wrote:So, is this mean JAVA can't do that? I don't think so...

Why?
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf Dittmer wrote:
Yohan Weerasinghe wrote:So, is this mean JAVA can't do that? I don't think so...

Why?


Because, those CD\DVD writing programs also created using programming languages right? So, JAVA is one of leading, so it must have this facility. May be very very hard, but has to be possible right?
 
Paul Clapham
Sheriff
Posts: 22502
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You seem to think that "programming language" is a category within which all members are interchangeable. That view is far too broad. In real life different programming languages are specialized for different purposes.
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:You seem to think that "programming language" is a category within which all members are interchangeable. That view is far too broad. In real life different programming languages are specialized for different purposes.


That is a very good advice, thanks for it...So just asking, which language could be suitable? (Don't say .NET, the JAVA's beggest competitor :mad: ) May be C++?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!