Maxxus@sh.itjust.works to Lemmy Shitpost@lemmy.world · 10 hours agoCrying is a free actionsh.itjust.worksimagemessage-square57fedilinkarrow-up1643arrow-down18file-text
arrow-up1635arrow-down1imageCrying is a free actionsh.itjust.worksMaxxus@sh.itjust.works to Lemmy Shitpost@lemmy.world · 10 hours agomessage-square57fedilinkfile-text
minus-squareValmond@lemmy.dbzer0.comlinkfedilinkarrow-up16arrow-down1·9 hours 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.
minus-squarecub Gucci@lemmy.todaylinkfedilinkarrow-up11·8 hours ago 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.
minus-squareloutr@sh.itjust.workslinkfedilinkEnglisharrow-up5·8 hours agoJava 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!"); }
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.
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.
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!"); }