Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flathub/org.freedesktop.sdk.extension.openjdk21
https://github.com/flathub/org.freedesktop.sdk.extension.openjdk21
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flathub/org.freedesktop.sdk.extension.openjdk21
- Owner: flathub
- Created: 2024-01-02T18:25:12.000Z (12 months ago)
- Default Branch: branch/23.08
- Last Pushed: 2024-09-16T15:59:01.000Z (3 months ago)
- Last Synced: 2024-09-16T19:22:20.254Z (3 months ago)
- Language: Shell
- Homepage: https://flathub.org/apps/details/org.freedesktop.Sdk.Extension.openjdk21
- Size: 194 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SDK Extension for OpenJDK 21
This extension contains the OpenJDK 21 Java Runtime Environment (JRE) and Java Developement Kit (JDK).
OpenJDK 21 is the current long-term support (LTS) version.
For the previous LTS version, see the [OpenJDK 17](https://github.com/flathub/org.freedesktop.Sdk.Extension.openjdk17) extension.
For the current latest (non-LTS) version, see the [OpenJDK](https://github.com/flathub/org.freedesktop.Sdk.Extension.openjdk) extension.
## Usage
You can bundle the JRE with your Flatpak application by adding this SDK extension to your Flatpak manifest and calling the install.sh script. For example:
```
{
"id" : "org.example.MyApp",
"branch" : "1.0",
"runtime" : "org.freedesktop.Platform",
"runtime-version" : "23.08",
"sdk" : "org.freedesktop.Sdk",
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.openjdk21" ],
"modules" : [ {
"name" : "openjdk",
"buildsystem" : "simple",
"build-commands" : [ "/usr/lib/sdk/openjdk21/install.sh" ]
}, {
"name" : "myapp",
"buildsystem" : "simple",
....
} ]
....
"finish-args" : [ "--env=PATH=/app/jre/bin:/usr/bin" ]
}
```