DCD-1020: We need a JRE symlink too.

This commit is contained in:
Steve Smith
2020-08-21 13:56:13 +10:00
parent 43996fffcd
commit d22c0222ed
2 changed files with 13 additions and 3 deletions

View File

@@ -8,13 +8,20 @@
name:
- openjdk-{{ java_major_version }}-jdk-headless
- name: Ensure common symlink exists
- name: Ensure common JDK symlink exists
alternatives:
link: "/usr/lib/jvm/java"
name: "java_sdk"
path: "/usr/lib/jvm/java-8-openjdk-amd64"
priority: 99
- name: Ensure common JRE symlink exists
alternatives:
link: "/usr/lib/jvm/jre"
name: "jre"
path: "/usr/lib/jvm/java-8-openjdk-amd64/jre"
priority: 99
when: atl_use_system_jdk
tags:
- runtime_pkg