Skip to content

Commit 92f9362

Browse files
asm0deybrunoborges
andauthored
dist: Support Liberica NIK (#878) (#1112)
Add the `liberica-nik` distribution (Liberica Native Image Kit), a GraalVM-based build from BELL Software resolved via the Bell-SW `/v1/nik/releases` API. - `java-version` matches the embedded JDK version (from the release's `liberica` component), consistent with every other distribution. - `java-package: jdk` installs the `standard` bundle; `jdk+fx` installs the `full` bundle with JavaFX/Swing support. - Supported on Linux, macOS and Windows for x64 and aarch64. Signed-off-by: asm0dey <pavel.finkelshtein@gmail.com> Co-authored-by: Bruno Borges <brborges@microsoft.com>
1 parent 71cfe8e commit 92f9362

9 files changed

Lines changed: 1332 additions & 6 deletions

File tree

.github/workflows/e2e-versions.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ jobs:
3737
'dragonwell',
3838
'sapmachine',
3939
'jetbrains',
40-
'kona'
40+
'kona',
41+
'liberica-nik'
4142
] # internally 'adopt-hotspot' is the same as 'adopt'
4243
version: ['21', '11', '17']
4344
exclude:
@@ -64,6 +65,15 @@ jobs:
6465
- distribution: kona
6566
os: macos-latest
6667
version: 25
68+
- distribution: liberica-nik
69+
os: windows-latest
70+
version: 25
71+
- distribution: liberica-nik
72+
os: ubuntu-latest
73+
version: 25
74+
- distribution: liberica-nik
75+
os: macos-latest
76+
version: 25
6777
- distribution: oracle
6878
os: macos-15-intel
6979
version: 17
@@ -450,6 +460,10 @@ jobs:
450460
java-package: jre+fx
451461
version: '11'
452462
os: ubuntu-latest
463+
- distribution: 'liberica-nik'
464+
java-package: jdk+fx
465+
version: '21'
466+
os: ubuntu-latest
453467
- distribution: 'corretto'
454468
java-package: jre
455469
version: '8'

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ Currently, the following distributions are supported:
124124
| `adopt` or `adopt-hotspot` | [AdoptOpenJDK Hotspot](https://adoptopenjdk.net/) | [`adopt-hotspot` license](https://adoptopenjdk.net/about.html) |
125125
| `adopt-openj9` | [AdoptOpenJDK OpenJ9](https://adoptopenjdk.net/) | [`adopt-openj9` license](https://adoptopenjdk.net/about.html) |
126126
| `liberica` | [Liberica JDK](https://bell-sw.com/) | [`liberica` license](https://bell-sw.com/liberica_eula/) |
127+
| `liberica-nik` | [Liberica Native Image Kit](https://bell-sw.com/pages/downloads/native-image-kit/) | [`liberica-nik` license](https://bell-sw.com/liberica_nik_eula/) |
127128
| `microsoft` | [Microsoft Build of OpenJDK](https://www.microsoft.com/openjdk) | [`microsoft` license](https://docs.microsoft.com/java/openjdk/faq)
128129
| `corretto` | [Amazon Corretto Build of OpenJDK](https://aws.amazon.com/corretto/) | [`corretto` license](https://aws.amazon.com/corretto/faqs/)
129130
| `semeru` | [IBM Semeru Runtime Open Edition](https://developer.ibm.com/languages/java/semeru-runtimes/downloads/) | [`semeru` license](https://openjdk.java.net/legal/gplv2+ce.html) |
@@ -301,6 +302,7 @@ In the example above multiple JDKs are installed for the same job. The result af
301302
- [Adopt](docs/advanced-usage.md#Adopt)
302303
- [Zulu](docs/advanced-usage.md#Zulu)
303304
- [Liberica](docs/advanced-usage.md#Liberica)
305+
- [Liberica Native Image Kit](docs/advanced-usage.md#Liberica-Native-Image-Kit)
304306
- [Microsoft](docs/advanced-usage.md#Microsoft)
305307
- [Amazon Corretto](docs/advanced-usage.md#Amazon-Corretto)
306308
- [Oracle](docs/advanced-usage.md#Oracle)

0 commit comments

Comments
 (0)