We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 529a16e commit b36c319Copy full SHA for b36c319
scratch/languages/jvm/java/README.md
@@ -7,8 +7,8 @@ generation in other languages since.
7
8
I've been wanting to try Java again now that development has picked back up again. I've only ever used Java 8.
9
10
-# JEP 445 heckery
+# JEP 445 and 330 heckery
11
12
```
13
-./_lib/jdk-21/bin/java --source 21 --enable-preview scratch/languages/jvm/java/main.java
+./main
14
scratch/languages/jvm/java/main.java
@@ -1,3 +1,5 @@
1
+#!/usr/bin/env -S java --enable-preview --source 21
2
+
3
void main() {
- System.out.println("Hello, World!");
4
+ System.out.println("This is Java Script! 👿");
5
}
0 commit comments