Java has changed a lot since Java 8. Here’s a 3-line HelloWorld.java compatible with Java 21+:
void main() { System.out.println("Hello, World!"); }
Comment on Crying is a free action
Valmond@lemmy.dbzer0.com 1 week agoJust 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.
Java has changed a lot since Java 8. Here’s a 3-line HelloWorld.java compatible with Java 21+:
void main() { System.out.println("Hello, World!"); }
Theres always Kotlin, which is like Java but for humans
vivalapivo@lemmy.today 1 week ago
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.