# Copyright 2017 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. | |
# Upgrade the icedtea installation from Java 7 to Java 8. | |
sudo qmerge -yqU dev-java/icedtea-bin:7 | |
# If no java versions are installed, this will fail. When we update the SDK | |
# though, it'll pull in Java 8, and the ebuild should select that version | |
# automatically for us. | |
sudo java-config --set-system-vm 1 || true |