In my Netbeans with spcs:

/Product Version: Apache NetBeans IDE 23 /

/Java: 22.0.2; Java HotSpot(TM) 64-Bit Server VM 22.0.2+9-70 /

/Runtime: Java(TM) SE Runtime Environment 22.0.2+9-70 /

/System: Linux version 6.1.0-26-amd64 running on amd64; UTF-8; en_CA (nb)/

I upgraded from OpenJDK 17, the default in Debian to Oracle 22 with specs :

/java 22.0.2 2024-07-16
Java(TM) SE Runtime Environment (build 22.0.2+9-70)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.2+9-70, mixed mode, sharing)/

After the upgrade I get the following message :

/*warning: [options] location of system modules is not set in conjunction with -source 17   not setting the location of system modules may lead to class files that cannot run on JDK 17     --release 17 is recommended instead of -source 17 -target 17 because it sets the location of system modules automatically*/*
/1 warning/*

What can I do to avoid this warning?

What setting am I missing?


Thanks

--
*/ArbolOne ™/*
Using Fire Fox and Thunderbird.
ArbolOne is composed of students and volunteers dedicated to providing free services to charitable organizations. ArbolOne's development on Java, PostgreSQL, HTML and Jakarta EE is in progress [ í ]

Reply via email to