How do I update java on a Debian device without desktop enviroment?

IT’s all in this pinned post: Upgrading to Java 16 from the MineOS Turnkey ISO