Possible Duplicate:
JNI vs Runtime.exec()
As I know, we can use the Java Native Interface (JNI) to let Java run native code. But I think we can use Runtime
and Process
interface to invoke the native executable instead. Can anyone tell me why?
Possible Duplicate:
JNI vs Runtime.exec()
As I know, we can use the Java Native Interface (JNI) to let Java run native code. But I think we can use Runtime
and Process
interface to invoke the native executable instead. Can anyone tell me why?