I\'m writing a simple program to call a Java function from my C program.
Following is my code:
#include #include #inclu
You've got the path to the Java library (the -L option), but not the library itself. You need to include -ljvm on the link line as well.
-L
-ljvm