Hacker News new | ask | show | jobs
by ada-h00k 17 days ago
Can't you just put that in a container with an old version of Java?
3 comments

Containers !~= VMs (except Kata Containers and similar). VMs ensure specific, isolated, supported compatible kernel versions in controlled environments because what's supported / should work isn't the same as what's technically possible / might work. At scale, tiny differences matter.

Containers seem lightweight and magical until the tyranny of the quirks of the kernel matters with some gotchas of supported configurations as opposed to unsupported gremlins running custom stuff that other vendors refuse to touch.

sometimes, sure but

> "lose the ability for commercial support / you're on your own if shit happens"

is not something you can clever your way into. It's the vendors choice what support characteristics look like.

Older Java versions aren't container aware, thus it might not run as expected, depending on which version it is.
If you really need a JRE from before they became container aware by default then you're in luck!

Both bookworm and trixie contain the obsolete OpenJDK v8 JRE for both amd64 and ppc64el as it's needed for nvidia-visual-profiler.

Thankfully I have long moved away from Java 8.