I checked the source for this error and found something interesting. In JavacParser there is the check for the different JDK versions. Every check up to 1.8 checks the bootClassPath for a specific JDK class, but the check for 9 checks the moduleBoot. Sadly, the log output seems to be copy-paste, as it still shows the bootClassPath. If I apply the following patch:
@@ -1005,7 +1000,7 @@ public class JavacParser extends Parser { LOGGER.log(warnLevel, "Even though the source level of {0} is set to: {1}, java.util.zip.CRC32C cannot be found on the system module path: {2} \n" + //NOI18N "Changing source level to 1.8", //NOI18N - new Object[]{srcClassPath, sourceLevel, bootClassPath}); //NOI18N + new Object[]{srcClassPath, sourceLevel, moduleBoot}); //NOI18N return SourceLevelUtils.JDK1_8; } return source; then I get a log the same log output about changing back to 1.8, but now without any searched classpaths, so the moduleBoot seems to be empty. Is it wrong to check the moduleBoot here? Is something configured the wrong way on my system? Where can I configure the moduleBoot paths? BTW: Is JDK 10 missing here? Am Sonntag, 25. März 2018, 13:37:46 CEST schrieb Emilian Bold: > Are you sure CRC32C exists? Could you check which modules has it (I assume > it would be java.base, but I can't check myself). > > --emi > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On 23 March 2018 4:27 PM, Marcel Witte <witte...@gmail.com> wrote: > > I'm using the current netbeans jenkins build. After changing my project to > > Java 9 (source level 9) I get a lot of messages like the following in the > > netbeans log: > > > > Even though the source level of [...] is set to: 9, java.util.zip.CRC32C > > cannot be found on the system module path: > > nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/atk.wrapper/:nbjrt:fil > > e:/usr/lib64/jvm/java-9-openjdk/!/modules/icedtea.sound/:nbjrt:file:/usr/l > > ib64/jvm/java-9-openjdk/!/modules/java.activation/:nbjrt:file:/usr/lib64/j > > vm/java-9-openjdk/!/modules/java.base/:nbjrt:file:/usr/lib64/jvm/java-9-op > > enjdk/!/modules/java.compiler/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/ > > modules/java.corba/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jav > > a.datatransfer/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.de > > sktop/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.instrument/ > > :nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.logging/:nbjrt:fi > > le:/usr/lib64/jvm/java-9-openjdk/!/modules/java.management/:nbjrt:file:/us > > r/lib64/jvm/java-9-openjdk/!/modules/java.management.rmi/:nbjrt:file:/usr/ > > lib64/jvm/java-9-openjdk/!/modules/java.naming/:nbjrt:file:/usr/lib64/jvm/ > > java-9-openjdk/!/modules/java.prefs/:nbjrt:file:/usr/lib64/jvm/java-9-open > > jdk/!/modules/java.rmi/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules > > /java.scripting/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.s > > e/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.se.ee/:nbjrt:fi > > le:/usr/lib64/jvm/java-9-openjdk/!/modules/java.security.jgss/:nbjrt:file: > > /usr/lib64/jvm/java-9-openjdk/!/modules/java.security.sasl/:nbjrt:file:/us > > r/lib64/jvm/java-9-openjdk/!/modules/java.smartcardio/:nbjrt:file:/usr/lib > > 64/jvm/java-9-openjdk/!/modules/java.sql/:nbjrt:file:/usr/lib64/jvm/java-9 > > -openjdk/!/modules/java.sql.rowset/:nbjrt:file:/usr/lib64/jvm/java-9-openj > > dk/!/modules/java.transaction/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/ > > modules/java.xml/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java. > > xml.bind/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.xml.cryp > > to/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.xml.ws/:nbjrt: > > file:/usr/lib64/jvm/java-9-openjdk/!/modules/java.xml.ws.annotation/:nbjrt > > :file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.accessibility/:nbjrt:fil > > e:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.aot/:nbjrt:file:/usr/lib64/j > > vm/java-9-openjdk/!/modules/jdk.attach/:nbjrt:file:/usr/lib64/jvm/java-9-o > > penjdk/!/modules/jdk.charsets/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/ > > modules/jdk.compiler/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/j > > dk.crypto.cryptoki/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk > > .crypto.ec/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.dynalin > > k/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.editpad/:nbjrt:f > > ile:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.hotspot.agent/:nbjrt:file: > > /usr/lib64/jvm/java-9-openjdk/!/modules/jdk.httpserver/:nbjrt:file:/usr/li > > b64/jvm/java-9-openjdk/!/modules/jdk.incubator.httpclient/:nbjrt:file:/usr > > /lib64/jvm/java-9-openjdk/!/modules/jdk.internal.ed/:nbjrt:file:/usr/lib64 > > /jvm/java-9-openjdk/!/modules/jdk.internal.jvmstat/:nbjrt:file:/usr/lib64/ > > jvm/java-9-openjdk/!/modules/jdk.internal.le/:nbjrt:file:/usr/lib64/jvm/ja > > va-9-openjdk/!/modules/jdk.internal.opt/:nbjrt:file:/usr/lib64/jvm/java-9- > > openjdk/!/modules/jdk.internal.vm.ci/:nbjrt:file:/usr/lib64/jvm/java-9-ope > > njdk/!/modules/jdk.internal.vm.compiler/:nbjrt:file:/usr/lib64/jvm/java-9- > > openjdk/!/modules/jdk.jartool/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/ > > modules/jdk.javadoc/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jd > > k.jcmd/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.jconsole/:n > > bjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.jdeps/:nbjrt:file:/u > > sr/lib64/jvm/java-9-openjdk/!/modules/jdk.jdi/:nbjrt:file:/usr/lib64/jvm/j > > ava-9-openjdk/!/modules/jdk.jdwp.agent/:nbjrt:file:/usr/lib64/jvm/java-9-o > > penjdk/!/modules/jdk.jlink/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/mod > > ules/jdk.jshell/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.js > > object/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.jstatd/:nbj > > rt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.localedata/:nbjrt:file > > :/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.management/:nbjrt:file:/usr/l > > ib64/jvm/java-9-openjdk/!/modules/jdk.management.agent/:nbjrt:file:/usr/li > > b64/jvm/java-9-openjdk/!/modules/jdk.naming.dns/:nbjrt:file:/usr/lib64/jvm > > /java-9-openjdk/!/modules/jdk.naming.rmi/:nbjrt:file:/usr/lib64/jvm/java-9 > > -openjdk/!/modules/jdk.net/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/mod > > ules/jdk.pack/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.poli > > cytool/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.rmic/:nbjrt > > :file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.scripting.nashorn/:nbjrt > > :file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.scripting.nashorn.shell/ > > :nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.sctp/:nbjrt:file:/ > > usr/lib64/jvm/java-9-openjdk/!/modules/jdk.security.auth/:nbjrt:file:/usr/ > > lib64/jvm/java-9-openjdk/!/modules/jdk.security.jgss/:nbjrt:file:/usr/lib6 > > 4/jvm/java-9-openjdk/!/modules/jdk.unsupported/:nbjrt:file:/usr/lib64/jvm/ > > java-9-openjdk/!/modules/jdk.xml.bind/:nbjrt:file:/usr/lib64/jvm/java-9-op > > enjdk/!/modules/jdk.xml.dom/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/mo > > dules/jdk.xml.ws/:nbjrt:file:/usr/lib64/jvm/java-9-openjdk/!/modules/jdk.z > > ipfs/ > > > > Changing source level to 1.8 > > > > Java 9 is installed using the package manager on openSUSE Tumbleweed and > > is working without problems besides this Netbeans problem. > > > > Why is Netbeans unable to find CRC32C and changing my source level back to > > 1.8? > > > > > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------------------------------------------------------------------- > > -------------- > > > > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > > > > For additional commands, e-mail: users-h...@netbeans.apache.org > > > > For further information about the NetBeans mailing lists, visit: > > > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists