3 ms·How do you run a Java program without compilation?by metadat 2y agoHow do you run a Java program without compilation?grishka 2y agoIt technically compiles it to memory before running it, but the point is that you don't have to invoke javac first. It's a relatively new feature.metadat 2y agoDo you know for which Java version this first became available?grishka 2y ago11: 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!metadat 2y agoAwesome, thanks for sharing!