blob: b214c4e7786797eee9635840c945abbb4694cbc0 [file] [log] [blame]
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# This file list the locations to look for java candidates in priority order.
# The priority order is newer to older versions and specific to generic versions.
# Note: Trailing comments are not allowed.
# Oracle JDK 11 Candidates
/usr/java/jdk-11
/usr/lib/jvm/jdk-11
/usr/lib/jvm/java-11-oracle
# OpenJDK 11 Candidates
/usr/lib/jvm/java-11-openjdk-arm64
/usr/lib/jvm/java-11-openjdk-amd64
/usr/lib/jvm/java-11-openjdk-ppc64el
/usr/lib/jvm/java-11
/usr/java/jdk-11
/usr/lib/jvm/jdk-11
/usr/lib64/jvm/jdk-11
# Oracle JDK 8 Candidates
/usr/java/jdk1.8
/usr/java/jre1.8
/usr/lib/jvm/j2sdk1.8-oracle
/usr/lib/jvm/j2sdk1.8-oracle/jre
/usr/lib/jvm/java-8-oracle
/usr/lib/jdk8-latest
# OpenJDK 8 Candidates
/usr/lib/jvm/java-8-openjdk-arm64
/usr/lib/jvm/java-1.8.0-openjdk-amd64
/usr/lib/jvm/java-1.8.0-openjdk-ppc64el
/usr/lib/jvm/java-1.8.0-openjdk
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0
# Misc. Candidates
/Library/Java/Home
/usr/bin/java
/usr/java/default
/usr/lib/jvm/java
/usr/lib/jvm/jre
/usr/lib/jvm/default-java
/usr/lib/jvm/java-openjdk
/usr/lib/jvm/jre-openjdk
/usr/lib/jvm/java-oracle