Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Abandoned
-
9.0, 10.0, 11.0, 11.1
-
None
-
None
Description
We have a NetBeans Application based on NetBeans 8.1, we tried to build it on NetBeans 9, 10, 11, 11.1 but the compilation failed.
We set the proper NetBeans Platform (8.1) and the correct JDK ( 8 ) but the compilation failed complaining that the files that should be generated by the @ServiceProvider annotation were not present (maybe also the layer extensions).
Eventually, we found what the problem was: even if we set the JDK 1.8 as the application JDK the NetBeans IDE runs Ant with its default JDK (it was 9 at that time). Running the NetBeans IDE with JDK 8 fixed the problem.