Hacker News new | ask | show | jobs
by turboponyy 436 days ago
You can do this in newer versions of Java (not sure since which), for what it's worth.
1 comments

Since JDK 11 (released in 2018).

"Launch Single-File Source-Code Programs" https://openjdk.org/jeps/330

In France a local magazine for Linux enthusiasts has its cover on "Java as a language for scripting". Things are moving.