(let* ((java-path (get-environment-variable "JAVA_HOME")) (java-include-path (string-append java-path "/include/")) (libjvm-path (string-append java-path "/jre/lib/amd64/server/"))) (compile ,(string-append "-L" libjvm-path) -ljvm -s ,(string-append "-I" java-include-path) jni.scm -J) (compile ,(string-append "-L" libjvm-path) -ljvm -s ,(string-append "-I" java-include-path) jni.import.scm)) (install-extension 'jni '("jni.so" "jni.import.so") '((version "0.1")))