Hi John ..

I had that thought, so I jumped out of NetBeans, chose Java 11, and my code
compiles and runs as-is.
So I'm not sure what NetBeans is enforcing that straight Java 11 does not?

$ export JAVA_HOME=`/usr/libexec/java_home -v 11`
$ java --version
openjdk 11.0.12 2021-07-20
OpenJDK Runtime Environment Temurin-11.0.12+7 (build 11.0.12+7)
OpenJDK 64-Bit Server VM Temurin-11.0.12+7 (build 11.0.12+7, mixed mode)
$ javac --version
javac 11.0.12


On Sat, Jan 15, 2022 at 3:07 PM John Mc <mcdonnell.j...@gmail.com> wrote:

> Could this be related to the Java Module System from Java 9+?
>
> Not used JMSmyself, just guessing here...
>
>
-- 
Jack Woehr               # If it doesn't work in Firefox,
Box 51, Golden CO 80402  # it's broken.
http://www.softwoehr.com # Just Say No to Chrome.

Reply via email to