Skip to content

Commit f6945c5

Browse files
committed
modified: config/zing_jre.yml
modified: docs/jre-zing_jre.md
1 parent f52f79d commit f6945c5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

config/zing_jre.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
---
2222
jre:
2323
version: 1.8.0_+
24-
repository_root: "https://cdn.azul.com/zing/bin"
24+
repository_root: ""
2525
jvmkill_agent:
2626
version: 1.+
2727
repository_root: "{default.repository.root}/jvmkill/{platform}/{architecture}"

docs/jre-zing_jre.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Azul Platform Prime JRE
2-
Azul Platform Prime JRE provides Java runtimes developed by Azul team. Unless otherwise configured, the version of Java that will be used is specified in [`config/zing_jre.yml`][].
2+
Azul Platform Prime JRE provides Java runtimes developed by Azul. No versions of the JRE are available by default due to licensing restrictions. Instead you will need to create a repository with the Prime JREs in it and configure the buildpack to use that repository. Unless otherwise configured, the version of Java that will be used is specified in [`config/zing_jre.yml`][].
33

44
<table>
55
<tr>
@@ -27,6 +27,7 @@ To use Azul Platform Prime JRE instead of OpenJDK without forking java-buildpack
2727

2828
```bash
2929
cf set-env <app_name> JBP_CONFIG_COMPONENTS '{jres: ["JavaBuildpack::Jre::ZingJRE"]}'
30+
cf set-env <app_name> JBP_CONFIG_ZING_JRE '{ jre: { repository_root: "<INTERNAL_REPOSITORY_URI>" } }'
3031
cf restage <app_name>
3132
```
3233

0 commit comments

Comments
 (0)