Skip to content

Commit 41657da

Browse files
committed
changed default jdk from adoptium to graalvm
1 parent f38b837 commit 41657da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ By default it will generate next artifacts in `${outputDirectory} ` folder:
176176
| `nativeImage` | :x: | `false` | If `true`, generates a native-image. Note that `jdkVendor` must be set to `graalvm` for this to work. |
177177
| `generateInstaller` | :x: | `true` | Generates an installer for the app. |
178178
| `jdkVersion` | :x: | `latest` | JDK version to download and use. The latest version is used by default. See all available versions here: [adoptium](https://api.adoptium.net/v3/info/available_releases). |
179-
| `jdkVendor` | :x: | `adoptium` | JDK vendor to download the JDK from. Currently supported: `adoptium` |
179+
| `jdkVendor` | :x: | `graalvm` | JDK vendor to download the JDK from. Currently supported: `adoptium, graalvm` |
180180
| `jdkPath` | :x: | `null` | If null downloads (if necessary and also updates it if needed) the right JDK for the selected platform and sets this value to `<temp-dir>/jdk/win` or `<temp-dir>/jdk/linux` or `<temp-dir>/jdk/mac`. The downloaded JDK will be used to generate a customized JRE. |
181181
| `jreDirectoryName` | :x: | `"jre"` | Bundled JRE directory name. |
182182
| `jreMinVersion` | :x: | | JRE minimum version. If an appropriate version cannot be found display error message. Disabled if a JRE is bundled. |

src/main/java/io/github/fvarrui/javapackager/PackageTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ public PackageTask() throws IOException {
381381
this.jrePath = null;
382382
this.jdkPath = null;
383383
this.jdkVersion = new AdoptV3API().getLatestRelease();
384-
this.jdkVendor = "adoptium";
384+
this.jdkVendor = "graalvm";
385385
this.additionalResources = new ArrayList<>();
386386
this.modules = new ArrayList<>();
387387
this.additionalModules = new ArrayList<>();

0 commit comments

Comments
 (0)