# 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.
# Note: Trailing comments are not allowed.

# 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-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

# Oracle JDK 7 Candidates
/usr/java/jdk1.7
/usr/java/jre1.7
/usr/lib/jvm/j2sdk1.7-oracle
/usr/lib/jvm/j2sdk1.7-oracle/jre
/usr/lib/jvm/java-7-oracle
/usr/lib/jdk7-latest

# OpenJDK 7 Candidates
/usr/lib/jvm/java-1.7.0-openjdk
/usr/lib/jvm/java-7-openjdk-amd64
/usr/lib/jvm/java-7-openjdk

# Misc. Candidates
/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