Because of the 6-month release cycle for new JDKs (currently at Java 13), I am driving all my Java builds (gradle and ordinary) with an externally set JAVA_HOME.
Each project has an opening script that prefixes JAVA_HOME/bin to the path, a measure that I am not happy with.
Every 6 months after a JDK upgrade, I have to go and muck around with the Java compiler settings in every project. Can you think of a way to have project->compile/link to use the JDK pointed to by JAVA_HOME, and if necessary, build the compiler tag file? I am also not sure why we still have the JDK settings in build->Java options, they clearly counteract the settings made in the project.