You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by JD Smith <jd...@smithoptimalsolutions.com> on 2019/06/20 17:08:15 UTC

NetBeans RCP for Java 11

When will a new version of the NetBeans RCP be available that supports Java
11?

The NetBeans 11 IDE still has for the latest version RELEASE82 for NetBeans
applications.

When running my NetBeans application, which is based on RELEASE82, with Java
11, I get Illegal reflective access warnings:

 

WARNING: Illegal reflective access by
org.openide.util.RequestProcessor$TopLevelThreadGroup
(file:/C:/SOSDevelopmentGit/saloons-admin-gui/SaloonsAdmin/application/targe
t/saloonsadmin/platform/lib/org-openide-util.jar) to method
sun.awt.AppContext.getThreadGroup()

 

I added in the startup configuration of nbm-maven-plugin to log the Illegal
access warnings:

 

            <plugin>

                <groupId>org.apache.netbeans.utilities</groupId>

                <artifactId>nbm-maven-plugin</artifactId>

                <configuration>

                    <etcConfFile>src/main/build/launcher.conf</etcConfFile>

                    <installerOsLinux>false</installerOsLinux>

                    <installerOsMacosx>false</installerOsMacosx>

                    <installerOsSolaris>false</installerOsSolaris>

                    <additionalArguments>-J--illegal-access=warn
-J--add-exports
-Jjavafx.web/com.sun.webkit=ALL-UNNAMED</additionalArguments>

                </configuration>

            </plugin>

 

There are other issues as well, with the com.lynden:GMapsFX:2.12.0
dependency, with Java 11, but that is a separate issue.

 

Thank you for any information you can provide about NetBeans RCP support of
Java 11.

 

JD Smith

Smith Optimal Solutions, LLC

 


Re: NetBeans RCP for Java 11

Posted by Geertjan Wielenga <ge...@apache.org>.
https://repository.apache.org/content/repositories/public/org/netbeans/

Gj

On Thu, Jun 20, 2019 at 8:15 PM JD Smith <jd...@smithoptimalsolutions.com>
wrote:

> Neil,
>
> Thanks for the response.
> I want to upgrade from RELEASE82 to 11, but don't know where the new
> NetBeans repository is to get the version 11 RCP artifacts.
>
> The old repository
>
> http://bits.netbeans.org/nexus/content/groups/netbeans
>
> only has versions up to RELEASE82.
>
> Where can I get the latest version 11 RCP artifacts?
>
> Thanks,
> JD
>
> -----Original Message-----
> From: Neil C Smith <ne...@apache.org>
> Sent: Thursday, June 20, 2019 11:20 AM
> To: JD Smith <jd...@smithoptimalsolutions.com>
> Cc: NetBeans Mailing List <us...@netbeans.apache.org>
> Subject: Re: NetBeans RCP for Java 11
>
> On Thu, 20 Jun 2019 at 18:08, JD Smith
> <jd...@smithoptimalsolutions.com> wrote:
> > When will a new version of the NetBeans RCP be available that supports
> Java 11?
> >
> > The NetBeans 11 IDE still has for the latest version RELEASE82 for
> NetBeans applications.
>
> The 11.0 RCP definitely supports Java 11+, although I'm using an Ant build
> system in my project.  Pretty sure the artefacts are available for Maven,
> but you're definitely right that RELEASE82 is the latest in the Maven
> wizard.  Maybe check for or file an issue in JIRA for this, because it
> would be nice if it could be fixed in NB 11.1
>
> Best wishes,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@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-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

RE: NetBeans RCP for Java 11

Posted by JD Smith <jd...@smithoptimalsolutions.com>.
Neil,

Thanks for the response.
I want to upgrade from RELEASE82 to 11, but don't know where the new NetBeans repository is to get the version 11 RCP artifacts.

The old repository

http://bits.netbeans.org/nexus/content/groups/netbeans

only has versions up to RELEASE82.

Where can I get the latest version 11 RCP artifacts?

Thanks,
JD

-----Original Message-----
From: Neil C Smith <ne...@apache.org> 
Sent: Thursday, June 20, 2019 11:20 AM
To: JD Smith <jd...@smithoptimalsolutions.com>
Cc: NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: NetBeans RCP for Java 11

On Thu, 20 Jun 2019 at 18:08, JD Smith
<jd...@smithoptimalsolutions.com> wrote:
> When will a new version of the NetBeans RCP be available that supports Java 11?
>
> The NetBeans 11 IDE still has for the latest version RELEASE82 for NetBeans applications.

The 11.0 RCP definitely supports Java 11+, although I'm using an Ant build system in my project.  Pretty sure the artefacts are available for Maven, but you're definitely right that RELEASE82 is the latest in the Maven wizard.  Maybe check for or file an issue in JIRA for this, because it would be nice if it could be fixed in NB 11.1

Best wishes,

Neil

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

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


Re: NetBeans RCP for Java 11

Posted by Neil C Smith <ne...@apache.org>.
On Thu, 20 Jun 2019 at 23:24, JD Smith
<jd...@smithoptimalsolutions.com> wrote:
> I also created Jira Bug NETBEANS-2731 for the Illegal reflective access warnings that are occurring.

If the warnings are a concern for you, you should probably look at
adding the relevant options from the netbeans.conf to your RCP
equivalent file.

https://github.com/apache/netbeans/blob/release111/nb/ide.launcher/netbeans.conf#L65

We should probably update the default RCP conf file with similar options.

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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


RE: NetBeans RCP for Java 11

Posted by JD Smith <jd...@smithoptimalsolutions.com>.
Neil,

I also created Jira Bug NETBEANS-2731 for the Illegal reflective access warnings that are occurring.

https://issues.apache.org/jira/browse/NETBEANS-2731

JD

-----Original Message-----
From: Neil C Smith <ne...@apache.org> 
Sent: Thursday, June 20, 2019 11:20 AM
To: JD Smith <jd...@smithoptimalsolutions.com>
Cc: NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: NetBeans RCP for Java 11

On Thu, 20 Jun 2019 at 18:08, JD Smith
<jd...@smithoptimalsolutions.com> wrote:
> When will a new version of the NetBeans RCP be available that supports Java 11?
>
> The NetBeans 11 IDE still has for the latest version RELEASE82 for NetBeans applications.

The 11.0 RCP definitely supports Java 11+, although I'm using an Ant build system in my project.  Pretty sure the artefacts are available for Maven, but you're definitely right that RELEASE82 is the latest in the Maven wizard.  Maybe check for or file an issue in JIRA for this, because it would be nice if it could be fixed in NB 11.1

Best wishes,

Neil

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

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


RE: NetBeans RCP for Java 11

Posted by JD Smith <jd...@smithoptimalsolutions.com>.
Neil,

I created defect NETBEANS-2730 

https://issues.apache.org/jira/browse/NETBEANS-2730

for adding releases after RELEASE82 to NetBeans 11.

I also did find the RELEASE110 artifacts on Maven Central.

Thank you,
JD

-----Original Message-----
From: Neil C Smith <ne...@apache.org> 
Sent: Thursday, June 20, 2019 11:20 AM
To: JD Smith <jd...@smithoptimalsolutions.com>
Cc: NetBeans Mailing List <us...@netbeans.apache.org>
Subject: Re: NetBeans RCP for Java 11

On Thu, 20 Jun 2019 at 18:08, JD Smith
<jd...@smithoptimalsolutions.com> wrote:
> When will a new version of the NetBeans RCP be available that supports Java 11?
>
> The NetBeans 11 IDE still has for the latest version RELEASE82 for NetBeans applications.

The 11.0 RCP definitely supports Java 11+, although I'm using an Ant build system in my project.  Pretty sure the artefacts are available for Maven, but you're definitely right that RELEASE82 is the latest in the Maven wizard.  Maybe check for or file an issue in JIRA for this, because it would be nice if it could be fixed in NB 11.1

Best wishes,

Neil

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

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


Re: NetBeans RCP for Java 11

Posted by Neil C Smith <ne...@apache.org>.
On Thu, 20 Jun 2019 at 18:08, JD Smith
<jd...@smithoptimalsolutions.com> wrote:
> When will a new version of the NetBeans RCP be available that supports Java 11?
>
> The NetBeans 11 IDE still has for the latest version RELEASE82 for NetBeans applications.

The 11.0 RCP definitely supports Java 11+, although I'm using an Ant
build system in my project.  Pretty sure the artefacts are available
for Maven, but you're definitely right that RELEASE82 is the latest in
the Maven wizard.  Maybe check for or file an issue in JIRA for this,
because it would be nice if it could be fixed in NB 11.1

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

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