• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to write a CD/DVD in Java

 
Ranch Hand
Posts: 507
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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++?
 
ice is for people that are not already cool. Chill with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic