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

2020-12-23 Thread Scott Palmer
Yes, this is a bit odd. I thought we had the issues with the changes to /usr/libexec/java_home worked out. Frustrating. I wish I was less busy when this was being worked on for 12.2 as I would have tested it more thoroughly, especially since I was one complaining about it. I did successfully

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

2020-12-23 Thread Thomas Wolf
I did after I asked the original question back in August. Not the point. tom On Dec 23, 2020 at 4:06:15 PM, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > Set it in etc/netbeans.conf then. > > Gj > > On Wed, 23 Dec 2020 at 22:05, Thomas Wolf wrote: > >> Hi Scott, >> When I

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

2020-12-23 Thread Geertjan Wielenga
Set it in etc/netbeans.conf then. Gj On Wed, 23 Dec 2020 at 22:05, Thomas Wolf wrote: > Hi Scott, > When I run "launchctl getenv JAVA_HOME” I don’t get anything back. So > that would explain why the installer doesn’t see it, I guess. But it > doesn’t explain why previously installers *did*

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

2020-12-23 Thread Thomas Wolf
Hi Scott, When I run "launchctl getenv JAVA_HOME” I don’t get anything back. So that would explain why the installer doesn’t see it, I guess. But it doesn’t explain why previously installers *did* see it, but now they don't. Nothing’s really changed - except the the default shell Apple uses is

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

2020-12-23 Thread Scott Palmer
No, that’s JAVA_HOME in your command-line shell. NOT the JAVA_HOME for GUI apps. To get the JAVA_HOME that the IDE would see you need to use the launchctl command. Try: launchctl getenv JAVA_HOME Regards, Scott > On Dec 23, 2020, at 12:47 PM, Franck Arnulfo wrote: > >  > JAVA_HOME is

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

2020-12-23 Thread Franck Arnulfo
JAVA_HOME is valid: farnulfo@MacBook-Pro ~ % echo $JAVA_HOME /Users/farnulfo/.sdkman/candidates/java/current farnulfo@MacBook-Pro ~ % $JAVA_HOME/bin/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

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

2020-12-23 Thread Scott Palmer
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

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

2020-12-22 Thread Franck Arnulfo
I've got the same issue: Netbeans 12.2 installer can't find JDK on macOS BigSur with JDK installed with SDKMAN. [image: 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

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

2020-08-26 Thread Thomas Wolf
> On Aug 26, 2020, at 8:59 PM, Thomas Wolf 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