Earlier quoted context omitted.
I use Java for a living. Whether you think Java is very easy or a pain in the ass depends on what you're doing. Consider the fact Ubuntu 18.04's default repos come with a pretty ancient version of Java. And if you want a newer version, you have to use some third-party source. And the fact there are both OpenJDK and Oracle JDKs to choose from. Will that be JDK or JRE? Headless? Depending on the combination of JDK and…
+1 for this. A headless install of Java is not straight forward. Doable? Yes. Pain in the butt? Yes.
There, you're done. Need fonts? Install fonts. Pain in the butt? Where?