You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Jean-Marc Borer <jm...@gmail.com> on 2023/09/26 18:36:19 UTC

Netbeans Platform and Jigsaw

Hi there,

I there some documentation how to compile Netbeans Platform applications
with JDK 9+?

I am trying to understand how Jigsaw modules and the Netbeans modules work
together (or not).

I currently only saw that most JDK modules are added to the module path (so
completely opened) in the configuration file.

Any information? Thx in advance for any input

Re: Fwd: Netbeans Platform and Jigsaw

Posted by Michael Bien <mb...@gmail.com>.
Hi,

we have a short wiki article for this:
https://cwiki.apache.org/confluence/display/NETBEANS/Java+Module+System+and+NetBeans+Platform+Applications

what you could do while migrating a platform app is to simply start with 
the same flags NetBeans is using. Once you are done and all your tests 
are green you remove the flags and add only those your application needs.

best regards,
michael


On 26.09.23 21:20, Jean-Marc Borer wrote:
> Hi there,
>
> We are planning to migrate from Java 8 and NB 12.4 to Java 17 and NB 19. I
> know it works as I run my IDE 19 with Java 17.
>
> Now there is Jigsaw
>
> I there some documentation how to compile Netbeans Platform applications
> with JDK 9+ and Maven?
>
> I am trying to understand how Jigsaw modules and the Netbeans modules
> (specifically the class loading) can work together (or not).
>
> The thing that I observed is that most (all?) JDK modules are added to the
> module path (so completely opened) in the netbeans.conf file.
>
> As I spent some time hacking around with NB platform, dependencies and
> Maven, I fear that I will get a lot of issues related to Jigsaw during this
> migration attempt.
>
> Any information? Thx in advance for any input
>
> PS: Yes I asked on the user list as well, but I finally found that this is
> a better place to ask...
>


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

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




Fwd: Netbeans Platform and Jigsaw

Posted by Jean-Marc Borer <jm...@gmail.com>.
Hi there,

We are planning to migrate from Java 8 and NB 12.4 to Java 17 and NB 19. I
know it works as I run my IDE 19 with Java 17.

Now there is Jigsaw

I there some documentation how to compile Netbeans Platform applications
with JDK 9+ and Maven?

I am trying to understand how Jigsaw modules and the Netbeans modules
(specifically the class loading) can work together (or not).

The thing that I observed is that most (all?) JDK modules are added to the
module path (so completely opened) in the netbeans.conf file.

As I spent some time hacking around with NB platform, dependencies and
Maven, I fear that I will get a lot of issues related to Jigsaw during this
migration attempt.

Any information? Thx in advance for any input

PS: Yes I asked on the user list as well, but I finally found that this is
a better place to ask...