Post #1969212
2026-04-07 12:42 UTC
Just make the 200 line boiler code setup to make some
system.stuff.thingy.log.println("hello world");
Then it's not compatible with the installed vm.
Replies (3)
-
@vivalapivo@lemmy.today 2026-04-07 13:22
>Then it's not compatible with the installed vm. This almost never happens, unless you do very niche things or have unrealistic expectations from your file system. Niche things include using obsolete cyphers for net communication or running java code on the ibm mainframe, not something you do day to day.
-
@loutr@sh.itjust.works 2026-04-07 13:36
Java has changed *a lot* since Java 8. Here's a 3-line HelloWorld.java compatible with Java 21+: ```java void main() { System.out.println("Hello, World!"); } ```
-
@SubArcticTundra@lemmy.ml 2026-04-08 00:10
Theres always Kotlin, which is like Java but for humans