Skip to content

Commit 0b576f5

Browse files
committed
Lock test version to 17.0.12
1 parent e62c413 commit 0b576f5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/archive-espresso-jshell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@v4
2121
- uses: graalvm/setup-graalvm@v1
2222
with:
23-
java-version: '17'
23+
java-version: '17.0.12'
2424
distribution: 'graalvm'
2525
components: 'espresso'
2626
github-token: ${{ secrets.GITHUB_TOKEN }}

archive/espresso-jshell/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Native JShell and Espresso: Mixing AOT and JIT for Java
22

3-
This demo showcases the integration between [GraalVM Native Image](https://www.graalvm.org/reference-manual/native-image/) and [Java-on-Truffle (Espresso)](https://www.graalvm.org/latest/reference-manual/espresso/).
3+
This demo showcases the integration between [GraalVM Native Image](https://www.graalvm.org/reference-manual/native-image/) and [Espresso (Java on Truffle)](https://www.graalvm.org/latest/reference-manual/espresso/).
44
It builds a native executable version of `jshell`, that executes the dynamically generated bytecode on Espresso. This hybrid mode achieves instant startup, beating the vanilla `jshell` in both: time to the first interaction and time to evaluate a simple expression.
55

66
JShell is a Java read-eval-print loop tool first introduced in Java 9, this demo also allows running `jshell` on Java 8.
@@ -9,15 +9,15 @@ For further discussions and questions please join our `#espresso` channel on the
99
## Prerequisites
1010

1111
- GraalVM for Java 11, 17 or higher
12-
- Native Image support
13-
- Java-on-Truffle (Espresso) support
12+
- Espresso (Java on Truffle) support
1413

1514
## Preparation
1615

17-
1. Download and install the latest GraalVM JDK using [SDKMAN!](https://sdkman.io/).
16+
1. Download and install the GraalVM JDK with Native Image and Espresso support using the [GraalVM JDK Downloader](https://github.com/graalvm/graalvm-jdk-downloader).
1817
```bash
19-
sdk install java 21.0.1-graal
18+
bash <(curl -sL https://get.graalvm.org/jdk) -c 'espresso'
2019
```
20+
The download script will provide the `JAVA_HOME`, `PATH`, and `GRAALVM_HOME` environment variables (follow the command line prompt).
2121

2222
2. Download or clone GraalVM demos repository and navigate into the `espresso-jshell` directory:
2323
```bash

0 commit comments

Comments
 (0)