Java thoughts and recommendations
Last updated
Last updated
JDK, SDK, JRE, 11, 17, 23, ... Java confuses me because my impression is: patchwork.
Groovy Scripts are pre-compiled into byte-code to run on the Java Virtual Machine (JVM).
Groovy is not interpreted during run-time. It is pre-compiled before it runs, and the resulting byte-code is executed on a JVM.
The Groovy compiler groovc
is part of the Groovy package.
Groovy needs a JVM as its execution platform.
When the script runs on the Atom, the Atom's JVM runs the script.
When the script runs a the local machine, the Project SDK determines the JVM.
Until today (2024-11-19) I recommended to use the Atom JVM as the Project SDK so that a script is executed with the same Java Virtual Machine Version as when it runs on the Atom.
However, when you get unrecognisable warnings during development it is probably because of the (legacy) Java 11.