AFAIK, you can't do that with Java per se. However, you can either use Runtime.exec() which is unpredictable to say the least or use JNI, which is pretty much a pain to use. JNI is probably your best bet though because you can actually write the function in C/C++ and call it from within Java.
Cheers,
cgkanchi




Reply With Quote