You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by pe...@webparity.net on 2021/03/10 18:46:49 UTC

RE: Netbeans installer on macOS Big Sur can't find JDK

All, I need help. I put things on JIRA and they never get answered.

 

When NB 12.2 does background scanning, typescript checking, I get this for Angular

 



 

I have to close the project and reopen it but then the whole thing starts all over again. Is there an update to NB 12.2.

 

Thank you for any help you can give me, please.

 

Regards,

 

Peter Borreggine

Owner and Developer

Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO

WebParity.net <http://webparity.net/> 

A Service Connected Disabled Veteran Owned Business

WA State License: 603-501-609

360-830-8926 C

 

“Lead, Follow or Get Out of the Way…”

Was a coined phrase (Moto) of the 3701 BMT Squadron in Lakeland AFB long before Lee Iacocca ever used it.

 

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

 

From: Scott Palmer <sw...@gmail.com> 
Sent: Wednesday, December 23, 2020 9:32 AM
To: Franck Arnulfo <fr...@gmail.com>
Cc: Thomas Wolf <tj...@gmail.com>; Netbeans Mailing List <us...@netbeans.apache.org>
Subject: Re: Netbeans installer on macOS Big Sur can't find JDK

 

I noticed something like this just yesterday when I was replacing my JDKs with Zulu JDK FX.  Until I set JAVA_HOME with launchctl I would get the same message. Are you sure you don’t have a JAVA_HOME set for GUI apps that isn’t valid? (This is not the same as setting JAVA_HOME in the command line.)

 

Scott





On Dec 22, 2020, at 7:01 PM, Franck Arnulfo <franck.arnulfo@gmail.com <ma...@gmail.com> > wrote:



I've got the same issue:

 

Netbeans 12.2 installer can't find JDK on macOS BigSur with JDK installed with SDKMAN.

<image.png>

 

 

Java is correctly installed, even the /usr/libexec/java_home is correct :

 

farnulfo@MacBook-Pro ~ % java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
farnulfo@MacBook-Pro ~ % which java 
/Users/farnulfo/.sdkman/candidates/java/current/bin/java
farnulfo@MacBook-Pro ~ % /usr/libexec/java_home 
/Users/farnulfo/.sdkman/candidates/java/current
farnulfo@MacBook-Pro ~ % 

 

The zip distribution of Netbeans 12.2 run fine with netbeans/bin/netbeans 

 

 

 

 

On Thu, Aug 27, 2020 at 3:19 AM Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> > wrote:



> On Aug 26, 2020, at 8:59 PM, Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> > wrote:
> 
> Hey,
> Has anyone had this issue?
> 
> I haven’t used Netbeans on my home mac for awhile.  I recently installed the macOS Big Sur beta and when I tried running my Netbeans 11.3 from the dock as usual, I get a warning (see first attachment) about the JDK being missing.  I said, hm - that’s odd - I have multiple different Java versions and Terminal shows me pointing to v14:
> 
> twolf@MacBook-Pro ~ % java -version
> java version "14.0.2" 2020-07-14
> Java(TM) SE Runtime Environment (build 14.0.2+12-46)
> Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode, sharing)
> 
> twolf@MacBook-Pro ~ % ls /Library/Java/JavaVirtualMachines/
> jdk-12.0.2.jdk/   jdk1.7.0_51.jdk/  jdk1.8.0_31.jdk/  
> jdk-14.0.2.jdk/   jdk1.8.0_25.jdk/  zulu-8.jdk/
> 
> I couldn’t figure it out, so I figured - good time to install 12.0.  Downloaded the 12.0 installer and ran that.  But the installer fails itself - also because it can’t find the JDK! See second screen shot.
> 

Well, I finally did get my old 11.3 version to work by modifying /Applications/NetBeans/Apache NetBeans 11.3.app/Contents/Resources/NetBeans/netbeans/etc/netbeans.conf and manually setting the netbeans_jdkhome variable to one of the JDKs I have.

But how do I get the Netbeans 12 installer to work?

Thanks again,
Tom



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

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




 

-- 

Franck


RE: Netbeans installer on macOS Big Sur can't find JDK

Posted by pe...@webparity.net.
Sorry,

 

Regards,

 

Peter Borreggine

Owner and Developer

Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO

WebParity.net <http://webparity.net/> 

A Service Connected Disabled Veteran Owned Business

WA State License: 603-501-609

360-830-8926 C

 

“Lead, Follow or Get Out of the Way…”

Was a coined phrase (Moto) of the 3701 BMT Squadron in Lakeland AFB long before Lee Iacocca ever used it.

 

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

 

From: Geertjan Wielenga <ge...@googlemail.com> 
Sent: Wednesday, March 10, 2021 10:48 AM
To: peter@webparity.net
Cc: Scott Palmer <sw...@gmail.com>; Franck Arnulfo <fr...@gmail.com>; Thomas Wolf <tj...@gmail.com>; Netbeans Mailing List <us...@netbeans.apache.org>
Subject: Re: Netbeans installer on macOS Big Sur can't find JDK

 

This has nothing to do with this thread. Please, when you have a new question, you're going to need to start a new thread.

 

Gj

 

On Wed, Mar 10, 2021 at 7:47 PM <peter@webparity.net <ma...@webparity.net> > wrote:

All, I need help. I put things on JIRA and they never get answered.

 

When NB 12.2 does background scanning, typescript checking, I get this for Angular

 



 

I have to close the project and reopen it but then the whole thing starts all over again. Is there an update to NB 12.2.

 

Thank you for any help you can give me, please.

 

Regards,

 

Peter Borreggine

Owner and Developer

Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO

WebParity.net <http://webparity.net/> 

A Service Connected Disabled Veteran Owned Business

WA State License: 603-501-609

360-830-8926 C

 

“Lead, Follow or Get Out of the Way…”

Was a coined phrase (Moto) of the 3701 BMT Squadron in Lakeland AFB long before Lee Iacocca ever used it.

 

This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender and destroy all copies of the original message and its attachments. Any unauthorized review, use, disclosure, or distribution is prohibited.

 

From: Scott Palmer <swpalmer@gmail.com <ma...@gmail.com> > 
Sent: Wednesday, December 23, 2020 9:32 AM
To: Franck Arnulfo <franck.arnulfo@gmail.com <ma...@gmail.com> >
Cc: Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> >; Netbeans Mailing List <users@netbeans.apache.org <ma...@netbeans.apache.org> >
Subject: Re: Netbeans installer on macOS Big Sur can't find JDK

 

I noticed something like this just yesterday when I was replacing my JDKs with Zulu JDK FX.  Until I set JAVA_HOME with launchctl I would get the same message. Are you sure you don’t have a JAVA_HOME set for GUI apps that isn’t valid? (This is not the same as setting JAVA_HOME in the command line.)

 

Scott

 

On Dec 22, 2020, at 7:01 PM, Franck Arnulfo <franck.arnulfo@gmail.com <ma...@gmail.com> > wrote:



I've got the same issue:

 

Netbeans 12.2 installer can't find JDK on macOS BigSur with JDK installed with SDKMAN.

<image.png>

 

 

Java is correctly installed, even the /usr/libexec/java_home is correct :

 

farnulfo@MacBook-Pro ~ % java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
farnulfo@MacBook-Pro ~ % which java 
/Users/farnulfo/.sdkman/candidates/java/current/bin/java
farnulfo@MacBook-Pro ~ % /usr/libexec/java_home 
/Users/farnulfo/.sdkman/candidates/java/current
farnulfo@MacBook-Pro ~ % 

 

The zip distribution of Netbeans 12.2 run fine with netbeans/bin/netbeans 

 

 

 

 

On Thu, Aug 27, 2020 at 3:19 AM Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> > wrote:



> On Aug 26, 2020, at 8:59 PM, Thomas Wolf <tjwolf@gmail.com <ma...@gmail.com> > wrote:
> 
> Hey,
> Has anyone had this issue?
> 
> I haven’t used Netbeans on my home mac for awhile.  I recently installed the macOS Big Sur beta and when I tried running my Netbeans 11.3 from the dock as usual, I get a warning (see first attachment) about the JDK being missing.  I said, hm - that’s odd - I have multiple different Java versions and Terminal shows me pointing to v14:
> 
> twolf@MacBook-Pro ~ % java -version
> java version "14.0.2" 2020-07-14
> Java(TM) SE Runtime Environment (build 14.0.2+12-46)
> Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode, sharing)
> 
> twolf@MacBook-Pro ~ % ls /Library/Java/JavaVirtualMachines/
> jdk-12.0.2.jdk/   jdk1.7.0_51.jdk/  jdk1.8.0_31.jdk/  
> jdk-14.0.2.jdk/   jdk1.8.0_25.jdk/  zulu-8.jdk/
> 
> I couldn’t figure it out, so I figured - good time to install 12.0.  Downloaded the 12.0 installer and ran that.  But the installer fails itself - also because it can’t find the JDK! See second screen shot.
> 

Well, I finally did get my old 11.3 version to work by modifying /Applications/NetBeans/Apache NetBeans 11.3.app/Contents/Resources/NetBeans/netbeans/etc/netbeans.conf and manually setting the netbeans_jdkhome variable to one of the JDKs I have.

But how do I get the Netbeans 12 installer to work?

Thanks again,
Tom



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

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




 

-- 

Franck


Re: Netbeans installer on macOS Big Sur can't find JDK

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
This has nothing to do with this thread. Please, when you have a new
question, you're going to need to start a new thread.

Gj

On Wed, Mar 10, 2021 at 7:47 PM <pe...@webparity.net> wrote:

> All, I need help. I put things on JIRA and they never get answered.
>
>
>
> When NB 12.2 does background scanning, typescript checking, I get this for
> Angular
>
>
>
>
>
> I have to close the project and reopen it but then the whole thing starts
> all over again. Is there an update to NB 12.2.
>
>
>
> Thank you for any help you can give me, please.
>
>
>
> *Regards,*
>
>
>
> *Peter Borreggine*
>
> *Owner and Developer*
>
> *Angular/Bootstrap/NodeJS/Databases/HTML5/CSS3/Responsive Web Design/SEO*
>
> *WebParity.net <http://webparity.net/>*
>
> *A Service Connected Disabled Veteran Owned Business*
>
> *WA State License: 603-501-609*
>
> *360-830-8926 C*
>
>
>
> *“Lead, Follow or Get Out of the Way…”*
>
> *Was a coined phrase (Moto) of the 3701 BMT Squadron in Lakeland AFB long
> before Lee Iacocca ever used it.*
>
>
>
> This email message is for the sole use of the intended recipient(s) and
> may contain confidential and privileged information. If you are not the
> intended recipient, please contact the sender and destroy all copies of the
> original message and its attachments. Any unauthorized review, use,
> disclosure, or distribution is prohibited.
>
>
>
> *From:* Scott Palmer <sw...@gmail.com>
> *Sent:* Wednesday, December 23, 2020 9:32 AM
> *To:* Franck Arnulfo <fr...@gmail.com>
> *Cc:* Thomas Wolf <tj...@gmail.com>; Netbeans Mailing List <
> users@netbeans.apache.org>
> *Subject:* Re: Netbeans installer on macOS Big Sur can't find JDK
>
>
>
> I noticed something like this just yesterday when I was replacing my JDKs
> with Zulu JDK FX.  Until I set JAVA_HOME with launchctl I would get the
> same message. Are you sure you don’t have a JAVA_HOME set for GUI apps that
> isn’t valid? (This is not the same as setting JAVA_HOME in the command
> line.)
>
>
>
> Scott
>
>
>
> On Dec 22, 2020, at 7:01 PM, Franck Arnulfo <fr...@gmail.com>
> wrote:
>
> 
>
> I've got the same issue:
>
>
>
> Netbeans 12.2 installer can't find JDK on macOS BigSur with JDK installed
> with SDKMAN.
>
> <image.png>
>
>
>
>
>
> Java is correctly installed, even the /usr/libexec/java_home is correct :
>
>
>
> farnulfo@MacBook-Pro ~ % java -version
> openjdk version "11.0.9.1" 2020-11-04
> OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9.1+1)
> OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9.1+1, mixed mode)
> farnulfo@MacBook-Pro ~ % which java
> /Users/farnulfo/.sdkman/candidates/java/current/bin/java
> farnulfo@MacBook-Pro ~ % /usr/libexec/java_home
> /Users/farnulfo/.sdkman/candidates/java/current
> farnulfo@MacBook-Pro ~ %
>
>
>
> The zip distribution of Netbeans 12.2 run fine with netbeans/bin/netbeans
>
>
>
>
>
>
>
>
>
> On Thu, Aug 27, 2020 at 3:19 AM Thomas Wolf <tj...@gmail.com> wrote:
>
>
>
> > On Aug 26, 2020, at 8:59 PM, Thomas Wolf <tj...@gmail.com> wrote:
> >
> > Hey,
> > Has anyone had this issue?
> >
> > I haven’t used Netbeans on my home mac for awhile.  I recently installed
> the macOS Big Sur beta and when I tried running my Netbeans 11.3 from the
> dock as usual, I get a warning (see first attachment) about the JDK being
> missing.  I said, hm - that’s odd - I have multiple different Java versions
> and Terminal shows me pointing to v14:
> >
> > twolf@MacBook-Pro ~ % java -version
> > java version "14.0.2" 2020-07-14
> > Java(TM) SE Runtime Environment (build 14.0.2+12-46)
> > Java HotSpot(TM) 64-Bit Server VM (build 14.0.2+12-46, mixed mode,
> sharing)
> >
> > twolf@MacBook-Pro ~ % ls /Library/Java/JavaVirtualMachines/
> > jdk-12.0.2.jdk/   jdk1.7.0_51.jdk/  jdk1.8.0_31.jdk/
> > jdk-14.0.2.jdk/   jdk1.8.0_25.jdk/  zulu-8.jdk/
> >
> > I couldn’t figure it out, so I figured - good time to install 12.0.
> Downloaded the 12.0 installer and ran that.  But the installer fails itself
> - also because it can’t find the JDK! See second screen shot.
> >
>
> Well, I finally did get my old 11.3 version to work by modifying
> /Applications/NetBeans/Apache NetBeans
> 11.3.app/Contents/Resources/NetBeans/netbeans/etc/netbeans.conf and
> manually setting the netbeans_jdkhome variable to one of the JDKs I have.
>
> But how do I get the Netbeans 12 installer to work?
>
> Thanks again,
> Tom
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
>
> --
>
> Franck
>
>