Calling Golang Functions from Java using C Shared Libraries Requirements Go Maven How to build There is a provided Makefile with all the build targets. Build JAR make build This creates a java-call-go-1.0-SNAPSHOT-jar-with-dependencies.jar in the target/ directory. Test make test References cgo call-go-function-from-java-demo go-cshared-examples