[ https://issues.apache.org/jira/browse/NETBEANS-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rangi Keen updated NETBEANS-3390: --------------------------------- Component/s: platform - JDK Problems > Presence of java.lang.Module causes build path errors in Eclipse > ---------------------------------------------------------------- > > Key: NETBEANS-3390 > URL: https://issues.apache.org/jira/browse/NETBEANS-3390 > Project: NetBeans > Issue Type: Bug > Components: platform - JDK Problems, platform - Launchers&CLI > Affects Versions: 10.0, 11.0, 11.1, 11.2 > Reporter: Rangi Keen > Priority: Major > > To reproduce: > * Create a Java project in Eclipse 2019-09 (and probably also 2019-06) > * Add a dependency on {{org.netbeans.modules:org-netbeans-bootstrap}} > * Build the project in Eclipse > You'll see the following in the problems window: > bq. The project was not built since its build path is incomplete. Cannot find > the class file for java.lang.Object. Fix the build path then try building > this project > In the Eclipse log file, there are many errors similar to the following: > bq. MESSAGE Compile error during code evaluation: The package java.lang is > accessible from more than one module: <unnamed>, java.base > This appears to be due to the addition of {{java.lang.Module}} in > {{o.n.bootstrap}} as part of [JDK 9 instrumentation > support|https://github.com/apache/netbeans/commit/4325e6ca3600c7234072df38ce50ff8c69172343]. > Removing this file and building/running with JDK 11 resolves the issue. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists