Browse Source

Update README.md (#427)

pull/443/head
jimgoog 4 years ago committed by GitHub
parent
commit
64322e8b68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tutorials/Native_distributions_and_local_execution/README.md

4
tutorials/Native_distributions_and_local_execution/README.md

@ -152,14 +152,14 @@ Versions must follow the rules:
## Customizing JDK version ## Customizing JDK version
The plugin uses `jpackage`, which is available since [JDK 14](https://openjdk.java.net/projects/jdk/14/). The plugin uses `jpackage`, for which you should be using at least [JDK 15](https://openjdk.java.net/projects/jdk/15/).
Make sure you meet at least one of the following requirements: Make sure you meet at least one of the following requirements:
* `JAVA_HOME` environment variable points to the compatible JDK version. * `JAVA_HOME` environment variable points to the compatible JDK version.
* `javaHome` is set via DSL: * `javaHome` is set via DSL:
``` kotlin ``` kotlin
compose.desktop { compose.desktop {
application { application {
javaHome = System.getenv("JDK_14") javaHome = System.getenv("JDK_15")
} }
} }
``` ```

Loading…
Cancel
Save