Your comments

You don't state your computer architecture but there's long term java support from BellSoft https://bell-sw.com/pages/java-8u222/ . I'm running successfully on an armhf platform.