3 ms·You can do this in newer versions of Java (not sure since which), for what it's worth.by turboponyy 1y agoYou can do this in newer versions of Java (not sure since which), for what it's worth.haglin 1y agoSince JDK 11 (released in 2018). "Launch Single-File Source-Code Programs" https://openjdk.org/jeps/330 https://openjdk.org/jeps/330seinecle 1y agoIn France a local magazine for Linux enthusiasts has its cover on "Java as a language for scripting". Things are moving.