Category : java-native-interface

I am trying to dockerize a GO application which uses a GO Java JNI library (https://github.com/timob/jnigi) and getting an error on the build stage as follows: /go/src/github.com/timob/jnigi/cinit.go:8:9: fatal error: jni.h: No such file or directory 8 | #include<jni.h>|^~~~~~~ compilation terminated. My Dockerfile: FROM golang:alpine as BUILD ENV GO111MODULE=auto RUN apk update && apk upgrade && ..

Read more

I am trying to dockerize a Go application which uses a Go Java JNI library (https://github.com/timob/jnigi) and getting an error on the build stage as follows: /go/src/github.com/timob/jnigi/cinit.go:8:9: fatal error: jni.h: No such file or directory 8 | #include<jni.h>|^~~~~~~ compilation terminated. My Dockerfile: FROM golang:alpine as BUILD ENV GO111MODULE=auto RUN apk update && apk upgrade && ..

Read more