Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: problem in java

  1. #11
    Senior Member
    Join Date
    Jan 2004
    Posts
    199
    Arkimedes edited answer sounds like a good solution to me. I would warn you though, looking into and using Java Native Interface (JNI) is not easy. It's nothing like pure Java, or so i have read.
    -

  2. #12
    Senior Member
    Join Date
    Oct 2005
    Posts
    106
    I had just played around with loading libraries in java, and I think now the best way to do what you'd like is to make a dll that does what you want with the CD rom; load it via System.loadlibrary("MyLibrary"), and create a public native void openCD(); method in your class.

    It works for writing to the bootsector of a floppy disk
    "The Texan turned out to be good-natured, generous and likeable. In three days no one could stand him." Catch 22 by Joseph Heller.

    Buddies? I have no buddies...


    Give the BSD daemon some love (proud FreeBSD user)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •