blob: e76d71cd1d985423d44879414dbc8752fe2d64c3 [file] [log] [blame]
# Copyright 2020 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Specify JDK as openjdk-bin-11 upon entering chroot.
# See crrev.com/c/2335921 for more details.
# Make sure dependencies are installed for older SDKs.
sudo emerge -qug '>=virtual/jdk-9'
sudo eselect java-vm set system openjdk-bin-11
# Log current state for debugging issues.
eselect java-vm list
whereis java