Calling C from Java
Execute the Java Program
At this point, we can execute the program we created:
java -classpath [whatever] example.jni.HelloWorldAgain, we need to have the DLL in our
If everything's working fine, we should get:
Hooray! You should be able to execute the Java program from inside or outside Cygwin, since we used the
Please let me know if you find errors or omissions in this walkthrough, or have general comments or questions.