Methods to call a native function Method 1. Use Runtime class Runtime class contains the exec method that allows the application to run an operating system command. An example of how to use this method: String command = “echo \”Hello World!\”"; Runtime.getRuntime().exec(command); Method 2. Use JNI Java Native Inteface (JNI) is […]
Tag Archives | jna