Found some more information and a way to solve the problem.
I had the same problem with OpenJDk 13, 14 and 15 too  on Mac Big Sur (OSx
11).
I did not see the behaviour on Catalina (OSx 10). I did not debug further
as to why Big Sur was causing problems.
My setup and configuration -
NetBeans 12.3 Zip bundle
OpenJDk tar ball
Launch netbeans using java_home parameter pointing to extracted Java 11
Openjdk
Cannot run maven NetBeans Module.

*Solution*:
INstalled Java 11 via HomeBrew
ran this command post install as recommended by brew *sudo ln -sfn $(brew
--prefix)/opt/openjdk@11/libexec/openjdk.jdk
/Library/Java/JavaVirtualMachines/openjdk-11.jdk*
I believe one can symlink the extracted openjdk as well to solve. I did not
try that.

Now able to run a Maven NetBeans module.

The other problem still exists - Cannot open Java Platform Shell from
within NetBeans 12.3

*Cheers*
Mani/Naren/Iyer
*The trick of walking on water is knowing where the stones are.*


On Fri, Jul 2, 2021 at 8:18 PM Geertjan Wielenga <
geertjan.wiele...@googlemail.com> wrote:

> Tried and failed to reproduce with this environment:
>
> *Product Version:* Apache NetBeans IDE 12.4
>
> *Java:* 16.0.1; OpenJDK 64-Bit Server VM 16.0.1+9
>
> *Runtime:* OpenJDK Runtime Environment 16.0.1+9
>
> *System:* Mac OS X version 10.15.7 running on x86_64; UTF-8; en_GB (nb)
>
> *User directory:* /Users/geertjanwielenga/Library/Application
> Support/NetBeans/12.4
>
> *Cache directory:* /Users/geertjanwielenga/Library/Caches/NetBeans/12.4
>
>
> I checked the settings.xml file in the NetBeans module project to make
> sure that netbeans.installation points to an actually existing NetBeans
> installation.
>
>
> Gj
>
> On Fri, Jul 2, 2021 at 4:43 PM Charles Johnson <cehjohn...@gmail.com>
> wrote:
>
>> On 02/07/2021 07:04, manikantanna...@gmail.com wrote:
>> > The steps were to show how to reproduce the problem.
>>
>> It might be better to post the minimal build files to reproduce it, e.g.
>> a pom.xml and possibly some Java source
>>
>>
>>

Reply via email to