diff options
author | Even Rouault <even.rouault@spatialys.com> | 2023-05-01 19:53:57 (GMT) |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2023-05-01 20:26:07 (GMT) |
commit | 7f738313e03780dfc2aadc4ebfdfe06d426867ef (patch) | |
tree | dfec2ec6a0f2f53a4d7b5878a287b778fbb9df5c /Modules | |
parent | 20bbd5f3d3b63fcf1f62e1df3ec8ce3ba30d288b (diff) | |
download | CMake-7f738313e03780dfc2aadc4ebfdfe06d426867ef.zip CMake-7f738313e03780dfc2aadc4ebfdfe06d426867ef.tar.gz CMake-7f738313e03780dfc2aadc4ebfdfe06d426867ef.tar.bz2 |
FindJNI: add Ubuntu specific paths for more recent JDK versions
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindJNI.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/FindJNI.cmake b/Modules/FindJNI.cmake index 64163b0..27f9b0e 100644 --- a/Modules/FindJNI.cmake +++ b/Modules/FindJNI.cmake @@ -290,6 +290,13 @@ set(_JNI_JAVA_DIRECTORIES_BASE # Arch Linux specific paths for default JVM /usr/lib/jvm/default # Ubuntu specific paths for default JVM + /usr/lib/jvm/java-21-openjdk-{libarch} # Ubuntu 23.04 + /usr/lib/jvm/java-20-openjdk-{libarch} # Ubuntu 22.10 + /usr/lib/jvm/java-19-openjdk-{libarch} # Ubuntu 22.04 LTS + /usr/lib/jvm/java-18-openjdk-{libarch} # Ubuntu 22.04 LTS + /usr/lib/jvm/java-17-openjdk-{libarch} # Ubuntu 18.04 LTS + /usr/lib/jvm/java-16-openjdk-{libarch} # Ubuntu 20.04 LTS + /usr/lib/jvm/java-13-openjdk-{libarch} # Ubuntu 20.04 LTS /usr/lib/jvm/java-11-openjdk-{libarch} # Ubuntu 18.04 LTS /usr/lib/jvm/java-8-openjdk-{libarch} # Ubuntu 15.10 /usr/lib/jvm/java-7-openjdk-{libarch} # Ubuntu 15.10 |