You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Arnaud Kleinveld (Jira)" <ji...@apache.org> on 2022/02/04 04:18:00 UTC

[jira] [Commented] (NETBEANS-6345) Project platform libraries missing from project compiler classpath

    [ https://issues.apache.org/jira/browse/NETBEANS-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486811#comment-17486811 ] 

Arnaud Kleinveld commented on NETBEANS-6345:
--------------------------------------------

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
>
>
> 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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists