[
https://issues.apache.org/jira/browse/NETBEANS-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486811#comment-17486811
]
Arnaud Kleinveld edited comment on NETBEANS-6345 at 2/4/22, 4:23 AM:
---------------------------------------------------------------------
There is a problem with the JDK1.8 bootstrap class not being added by Netbeans
to the Ant compiling target arguments.
As a workaround I have now set Additional Compiler Options -bootclasspath
/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/rt.jar on the page Project properties
=> Build => Compiling
!image-2022-02-04-11-20-38-161.png|width=562,height=337!
was (Author: JIRAUSER282855):
There is a problem with the JDK1.8 bootstrap class not being added by Netbeans
to the Ant compiling target arguments.
As a workaround I have now set Additional Compiler Options -bootclasspath
/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/rt.jar
> Project platform libraries missing from project compiler classpath
> ------------------------------------------------------------------
>
> Key: NETBEANS-6345
> URL: https://issues.apache.org/jira/browse/NETBEANS-6345
> Project: NetBeans
> Issue Type: Bug
> Components: java - Compiler
> Affects Versions: 12.6
> Reporter: Arnaud Kleinveld
> Priority: Minor
> Fix For: 12.6
>
> Attachments: image-2021-12-31-22-09-29-276.png,
> image-2021-12-31-22-16-08-793.png, image-2022-01-02-17-31-29-854.png,
> image-2022-01-02-17-32-37-672.png, image-2022-01-02-17-34-04-610.png,
> image-2022-01-22-16-53-54-699.png, image-2022-01-22-16-55-06-306.png,
> image-2022-01-22-16-55-12-036.png, image-2022-01-22-17-00-02-872.png,
> image-2022-02-04-11-20-38-161.png
>
>
> Configuration of Fedora 34 with java 11 and 1.8 from repo and used
> alternatives set to java 11 as the default. When Netbeans is launched on
> selected version and project platform is specified to be 1.8, the project
> libraries node expands with JDK 1.8 and inline compiler is using this
> correctly, however when the project is built 1.8 specific libraries seem to
> be missing from classpath, e.g. javax.activation.DataSource.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists