diff --git a/CMakeLists.txt b/CMakeLists.txt index bcf117ff..8c8c96e5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,6 +9,7 @@ include_directories(src/fluid/includes) # include jni set(JAVA_AWT_LIBRARY NotNeeded) +# /usr/lib/jvm/java-17-openjdk-amd64/include find_package(JNI REQUIRED) include_directories(${JNI_INCLUDE_DIRS}) diff --git a/Jenkinsfile b/Jenkinsfile index a84aa665..7ef96c44 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,9 +3,6 @@ pipeline { tools { maven '3.9.6' } - environment { - JAVA_HOME = '/usr/lib/jvm/java-17-openjdk-amd64/include' - } stages { stage('Setup') { steps {