Hi Everybody,

I was wondering if anybody knew if you can controll hardware with Java (open the CD drive, etc.).

Thank you in advanced,
C++

Yes, no, maybe :)

Usually not directly. But through JNI you can do almost anything if you can create (or have access to) a JNI stub to a library in a native language.

First, THANK YOU FOR RESPONDING!
Second, can you please explain how to do that with JNI?

Thnks,
C++

You can use free or commercial libraries for JNI,
they have different quality, hope you will find free and working.
Example - JNIWrapper

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.