Re: Use different JDKs in one Project

Ulrich Mayring <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Organization iSYS GmbH1
Message-ID <[email protected]>
Yes, that is exactly what I'm looking for. But I take it that Netbeans 
doesn't support that via the UI?

So maybe I should define gradle tasks that run with 
"-Dorg.gradle.java.home=/JDK_PATH" or something like that? But it seems 
wrong to code filesystem paths into the buildfile, because those will be 
different on other machines.

Kind regards,
Ulrich

Am 04.03.25 um 14:47 schrieb Pieter van den Hombergh:
> maybe it is better to use different release labels/settings in the super 
> or subproject.
> 
> in that scenario, choose the highest acceptable version as the base 
> version and 'downgrade' the release in the submodules that require it.
> 
> 
> 
> met vriendelijke groet
> Pieter van den Hombergh
> 
> Op di 4 mrt 2025, 12:50 schreef Ulrich Mayring <[email protected] 
> <mailto:[email protected]>>:
> 
>     Hi all,
> 
>     is it possible to tell Netbeans to use different JDK platforms in one
>     project? I have a Gradle parent project and under Build/Gradle
>     Execution
>     I can only select one JDK and for all the subprojects this selection is
>     greyed out.
> 
>     I'd like to:
> 
>     - run a subproject with a different JDK
>     - run a certain gradle task (tests) with a different JDK
> 
>     Is that at all possible?
> 
>     Kind regards,
> 
>     Ulrich
> 
>     -- 
>     iSYS Software GmbH
> 
>     Ulrich Mayring | Full Stack Developer
>     Technology Lab / R&D
> 
>     Tel: +49 (0) 89 46 23 28-0 | Fax  +49 (0) 89 46 23 28-14
>     email: [email protected] <mailto:[email protected]>
> 
>     Grillparzerstraße 10 | D-81675 München <https://www.google.com/maps/
>     search/Grillparzerstra%C3%9Fe+10+%7C+D-81675+M%C3%BCnchen?
>     entry=gmail&source=g>
>     www.isys.de <http://www.isys.de>
> 
>     Sitz der Gesellschaft: München | HRB 111760
>     Geschäftsführer: Stefan Fischer und Max Haller
> 
> 
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: [email protected]
>     <mailto:[email protected]>
>     For additional commands, e-mail: [email protected]
>     <mailto:[email protected]>
> 
>     For further information about the NetBeans mailing lists, visit:
>     https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>     <https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists>
> 

-- 
iSYS Software GmbH

Ulrich Mayring | Full Stack Developer
Technology Lab / R&D

Tel: +49 (0) 89 46 23 28-0 | Fax  +49 (0) 89 46 23 28-14
email: [email protected]

Grillparzerstraße 10 | D-81675 München
www.isys.de

Sitz der Gesellschaft: München | HRB 111760
Geschäftsführer: Stefan Fischer und Max Haller


---------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.