Comment on Anon tries programming in Java
Hawke@lemmy.world 1 day agoIs that why every single application will only work with some ancient version of Java?(usually 8, sometimes 1.6 or 11)
I can’t think of many cases where Java 21 is a drop in replacement, and I don’t think I anyone actually used 17.
pivot_root@lemmy.world 1 day ago
That’s entirely the fault of applications (or more likely their libraries) using internal APIs or JNI. Compiled Java bytecode that doesn’t do anything screwy with reflection to access JRE implementation details will absolutely still work on newer Java versions.