GoogleCloudPlatform / healthcare-data-harmonization-dataflow

Apache License 2.0
35 stars 24 forks source link

Repository only requires OpenJDK8 (build_dep.sh file) #8

Open pratikpagade1994 opened 3 years ago

pratikpagade1994 commented 3 years ago

The build_dep.sh mentions

// At this point, we require OpenJDK 8. readonly JNI_DIR="/usr/lib/jvm/java-8-openjdk-amd64/include" readonly JNI_DIR_LINUX="/usr/lib/jvm/java-8-openjdk-amd64/include/linux"

But java licensing changes have disabled 'open-jdk-8 version' and 'ppa' have discontinued its support. Tried to use official jdk8 from oracle's website too. So the build_deps.sh fails while running due to this. The error eventually leads to "jni.h not found"

Workaround used

Downloaded 'OpenJDK-11' and renamed it to 'java-8-openjdk-amd64' to make it work, so build_dep.sh gets the correct path.

vneilley commented 3 years ago

+1 to this issue