Remix.run Logo
nathell 2 hours ago

Fortunately, the Java ecosystem isn’t JS where breakage is so common that you have to be extra careful about the version of Node you’re using. As a Clojure programmer, I have never seen a case where it mattered which vendor my JVM was coming from, and 95% of the time I don’t care which version I’m using, as long as it’s reasonably recent.

For the remaining 5%, on macOS, my JVM version manager is this zsh one-liner:

    jvm () { export JAVA_HOME=`/usr/libexec/java_home -v $1`; }
kryptiskt an hour ago | parent [-]

> I have never seen a case where it mattered which vendor my JVM was coming from

As I understand it, Oracle's JVMs only get free updates for a limited time. If you keep using them after that you risk getting caught in a license audit.