nm /usr/local/lib/liblink-grammar-java.a | grep Java
However, when I was running maven, I received an UnsatisfiedLinkError. After MUCH googling I found:
Simply setting the system property in maven for surefire is not sufficient, because maven changes the system property at runtime, which is too late for the VM to link to the library. Thus you need to use the following in your build section of your pom:
After that, the VM will link to your libraries and surefire and all dependent tests should be able to see the java interfaces and access the necessary libraries.