Skip to content

Commit 46e9bda

Browse files
committed
Compile go sdk via jdk8
1 parent 39f9ee6 commit 46e9bda

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

library/go/build-darwin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
#go install github.com/tougee/jvm/cmd/gobind
66

77
# should export JAVA_HOME if not set
8-
export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
8+
export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
99

1010
gomobile bind -target=darwin/amd64 -x -v -o build -tags=openssl mixin/kernel

library/go/build-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
# build on MacOS
88
# brew install FiloSottile/musl-cross/musl-cross
99
# export CGO_ENABLED=1 GOOS=linux GOARCH=amd64 CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++
10-
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
10+
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
1111

1212
gomobile bind -target=linux/amd64 -x -v -o build -tags=openssl mixin/kernel

library/go/build-windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
# build on MacOS
88
# brew install mingw-w64
99
# export CGO_ENABLED=1 GOOS=windows GOARCH=amd64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
10-
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
10+
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
1111

1212
gomobile bind -target=windows/amd64 -x -v -o build -tags=openssl mixin/kernel
0 Bytes
Binary file not shown.

library/libs/kernel.jar

-446 Bytes
Binary file not shown.
8 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)