mirror of
https://github.com/apple/pkl.git
synced 2026-04-24 01:08:34 +02:00
Docs fix: Java 8 is not supported (#283)
Java 11 is the minimum version, rather than 8.
This commit is contained in:
@@ -19,7 +19,7 @@ See xref:pkl-gradle:index.adoc#installation[Installation] in the Gradle plugin c
|
|||||||
=== Java Library
|
=== Java Library
|
||||||
|
|
||||||
The `pkl-codegen-kotlin` library is available {uri-pkl-codegen-kotlin-maven-module}[from Maven Central].
|
The `pkl-codegen-kotlin` library is available {uri-pkl-codegen-kotlin-maven-module}[from Maven Central].
|
||||||
It requires Java 8 or higher and Kotlin 1.3 or higher.
|
It requires Java 11 or higher and Kotlin 1.3 or higher.
|
||||||
|
|
||||||
==== Gradle
|
==== Gradle
|
||||||
|
|
||||||
|
|||||||
@@ -32,10 +32,10 @@ For interactive development, the CLI includes a Read-Eval-Print Loop (REPL).
|
|||||||
The CLI comes in multiple flavors:
|
The CLI comes in multiple flavors:
|
||||||
|
|
||||||
* Native macOS executable for amd64 (tested on macOS 10.15)
|
* Native macOS executable for amd64 (tested on macOS 10.15)
|
||||||
* Native Linux executable for amd64 (tested on Oracle Linux 8)
|
* Native Linux executable for amd64
|
||||||
* Native Linux executable for aarch64 (tested on Oracle Linux 8)
|
* Native Linux executable for aarch64
|
||||||
* Native Alpine Linux executable for amd64 (cross-compiled and tested on Oracle Linux 8)
|
* Native Alpine Linux executable for amd64 (cross-compiled and tested on Oracle Linux 8)
|
||||||
* Java executable (tested with Java 8/11/14 on macOS and Oracle Linux)
|
* Java executable (tested with Java 11/17 on macOS and Oracle Linux)
|
||||||
|
|
||||||
On macOS and Linux, we recommend using the native executables.
|
On macOS and Linux, we recommend using the native executables.
|
||||||
They are self-contained, start up instantly, and run complex Pkl code much faster than the Java executable.
|
They are self-contained, start up instantly, and run complex Pkl code much faster than the Java executable.
|
||||||
@@ -48,7 +48,7 @@ whereas, the Alpine Linux executable is statically linked against _musl libc_ an
|
|||||||
====
|
====
|
||||||
|
|
||||||
The Java executable works on multiple platforms and has a smaller binary size than the native executables.
|
The Java executable works on multiple platforms and has a smaller binary size than the native executables.
|
||||||
However, it requires a Java 8 (or higher) runtime on the system path, has a noticeable startup delay,
|
However, it requires a Java 11 (or higher) runtime on the system path, has a noticeable startup delay,
|
||||||
and runs complex Pkl code slower than the native executables.
|
and runs complex Pkl code slower than the native executables.
|
||||||
|
|
||||||
All flavors are built from the same codebase and undergo the same automated testing.
|
All flavors are built from the same codebase and undergo the same automated testing.
|
||||||
|
|||||||
Reference in New Issue
Block a user