Might also try removing both of these:

~/Library/Application Support/NetBeans/12.4
and
~/Library/Caches/NetBeans/12.4

On Fri, Aug 27, 2021 at 7:25 PM Carl Mosca <carljmo...@gmail.com> wrote:

> I had not installed 16 before now.  It seems to work OK.
>
> On Fri, Aug 27, 2021 at 6:29 PM Will Hartung <willhart...@gmail.com>
> wrote:
>
>> Ok, I tried that. I removed the 12.4 cache folder, went to the bin
>> directory and ran netbeans directly from the terminal.
>>
>> it silently stops.
>>
>> It looks like it's trying to start with JDK 16. Does 12.4 work with JDK
>> 16?
>>
>> I stuck a set -x in nbexec, and, among other things it showed this.
>>
>> + '[' -x /usr/libexec/java_home ']'
>> ++ /usr/libexec/java_home --version 1.8+
>> +
>> jdkhome=/Library/Java/JavaVirtualMachines/adoptopenjdk-16.jdk/Contents/Home
>>
>> Thanks!
>>
>> On Fri, Aug 27, 2021 at 2:42 PM Carl Mosca <carljmo...@gmail.com> wrote:
>>
>>> You should be able to (try to) start from the command line like this:
>>>
>>> "/Applications/NetBeans/Apache NetBeans
>>> 12.4.app/Contents/Resources/NetBeans/netbeans/bin/netbeans"
>>>
>>>
>>> or similar.
>>>
>>>
>>> but I seem to recall a log that might help as well.
>>>
>>>
>>> Clearing the cache directory may be necessary. ~
>>> /Library/Caches/NetBeans/12.4
>>>
>>> On Fri, Aug 27, 2021 at 5:21 PM Will Hartung <willhart...@gmail.com>
>>> wrote:
>>>
>>>> NB 12.4 won't start on MacOS Big Sur.
>>>>
>>>> It used to start. It used to work fine.
>>>>
>>>> But I click on the icon on my Dock, and it bounces once and quits.
>>>>
>>>> I double click the app in the Finder, it tries to launch and silently
>>>> fails.
>>>>
>>>> NB 12.2 launches fine.
>>>>
>>>> How can I start NB, I guess from the command line, to see what it might
>>>> be complaining about. I didn't see any new files or changes under
>>>> /Applications, or /Library/Application Support that would suggest something
>>>> is being logged during the start up..
>>>>
>>>> So, I'm kind of at an impasse for the moment.
>>>>
>>>> Thanks,
>>>>
>>>> Will Hartung
>>>>
>>>>
>>>
>>> --
>>> Carl J. Mosca
>>>
>>
>
> --
> Carl J. Mosca
>


-- 
Carl J. Mosca

Reply via email to