Using system java. /n в джава. jni java. java native interface. makefile пример.