Java is tricky these days. Last year, Oracle changed its license and useful resources like the “WebUpd8” Team PPA went offline. Oracle does provide downloads on its website, but there’s really no obvious way to install and use them if you just want to run some Java programs that OpenJDK for some reason can’t deal with. Fortunately, it’s very easy.