Ah, great, thanks. I didn't see that.

Is there a solution for Gradle as well?

Thomas


Luff,Chris schrieb am 25.11.2020 um 10:04:
>
> You can select a default in the Maven config.
>
> Associate Principal Engineer | UK Development - Care Insight and Delivery Dev 
> | chris.l...@cerner.com <mailto:chris.l...@cerner.com> | Cerner Limited 
> <http://www.cerner.com/>
>
>> On 25 Nov 2020, at 07:42, Thomas Kellerer <sham...@gmx.net 
>> <mailto:sham...@gmx.net>> wrote:
>>
>> Hello,
>>
>> I am running NetBeans on OpenJDK 14, but all projects I have, are using Java 
>> 11 so I have an OpenJDK 11 defined through "Java Platforms".
>>
>> However, when I open a Maven or Gradle project, I always have to manually 
>> select JDK 11 in the project options despite the projects defining the 
>> source level to 11.
>>
>> Is there a way I can define my JDK 11 as the "default" JDK without running 
>> NetBeans on it (so keeping --jdk-home pointing to JDK 14)?
>>
>> I am using NetBeans 12.1 on Windows 10
>>
>> Regards
>> Thomas



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

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

Reply via email to