openjdk layer, building off interface-java
Shell Python Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
reactive
tests lint fix; make xenial the series for test Jan 11, 2017
LICENSE
Makefile update readme, status messages, and tests Jan 14, 2016
README.md
config.yaml
copyright
icon.svg added icon Jan 8, 2016
layer.yaml Changes to support Java 8 on trusty May 12, 2016
metadata.yaml

README.md

Overview

This is a layered charm that generates a deployable OpenJDK charm. Source for this charm is available at github.

Usage

This subordinate charm implements the java interface and requires a principal charm that provides the java relation endpoint. Example deployment:

juju deploy ubuntu-devenv
juju deploy openjdk
juju add-relation ubuntu-devenv openjdk

Configuration

java-type

This determines which OpenJDK packages to install. Valid options are jre or full. The default is jre, which will install the OpenJDK Java Runtime Environment (JRE). Setting this to full will install the OpenJDK Java Development Kit (JDK), which includes the JRE.

Switch between the JRE and full (JRE+JDK) with the following:

  juju set openjdk java-type=full

java-major

Major version of Java to install. This defaults to 8 and installs openjdk-8-[jre|jdk]. Valid options for Ubuntu 14.04 (Trusty) are 6, 7, or 8. Valid options for Ubuntu 16.04 (Xenial) are 8 or 9.

Switch between Java7 and Java6 with the following:

  juju set openjdk java-major=6

Contact Information