2 ms·
Do you know for which Java version this first became available?
Do you know for which Java version this first became available?
11: https://openjdk.org/jeps/330 https://openjdk.org/jeps/330
Oh so actually, you can use a shebang, just without the .java extension and with the "--source" flag, it's specifically written out in that spec. I was doing my experiment wrong!