Re: MacOS Big Sur 12.4 won't start.

2021-08-27 Thread Carl Mosca
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  wrote:

> I had not installed 16 before now.  It seems to work OK.
>
> On Fri, Aug 27, 2021 at 6:29 PM Will Hartung 
> 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  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 
>>> 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


Re: MacOS Big Sur 12.4 won't start.

2021-08-27 Thread Carl Mosca
I had not installed 16 before now.  It seems to work OK.

On Fri, Aug 27, 2021 at 6:29 PM Will Hartung  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  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 
>> 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

-
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

Re: MacOS Big Sur 12.4 won't start.

2021-08-27 Thread Will Hartung
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  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 
> 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
>


Re: MacOS Big Sur 12.4 won't start.

2021-08-27 Thread Carl Mosca
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  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


MacOS Big Sur 12.4 won't start.

2021-08-27 Thread Will Hartung
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


Re: Does Netbeans have this IntelliJ Log feature?

2021-08-27 Thread Laszlo Kishalmi
Well, we had a plugin for something like that ages ago, that might went 
even deeper than that for log4j as far as I remember.


Writing one would be an interesting task for a beginner. Go for it!

It would be good to add a new module to the ide cluster.

I'd do that in the following order:

1. Create a TopComponent for the log files
2. Use hard coded files to test your workflows
3. Create a Project Customizer, and register that for an existing
   project type.
4. Test
5. Register your project customizer to other project types
6. Test
7. Contribute a PR


On 8/27/21 1:03 PM, Tim Mullé wrote:

Hi,

I use a feature in IntelliJ at work when running applications from the 
IDE that allows me to view one or more log files

In separate tabs when the program starts up.

I was wondering if Netbeans has this kind of support or is there a 
plugin already to support this kind of action?


If not, I was thinking of taking a shot at writing one since I do like 
using Netbeans and it would be a fun and useful way to expand the IDE.


I’m guessing it would be an extension of the Java project or editor to 
add a new configuration option in the project settings dialog?
I saw something in the New Project wizard tutorial on how to add 
customizers for Projects so I think that might be where it should 
go..still learning.



I know I can always tail the logs in the terminal, but that’s no fun :)

I’d like a new tab to open up and stream the log file(s) just like 
IDEA does.


You can configure it in the configuration settings in IntelliJ on a 
per project basis:


Here is the description how to use it: 
https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html 




Thanks,
- Tim



Does Netbeans have this IntelliJ Log feature?

2021-08-27 Thread Tim Mullé
Hi,

I use a feature in IntelliJ at work when running applications from the IDE that 
allows me to view one or more log files
In separate tabs when the program starts up.

I was wondering if Netbeans has this kind of support or is there a plugin 
already to support this kind of action?

If not, I was thinking of taking a shot at writing one since I do like using 
Netbeans and it would be a fun and useful way to expand the IDE.

I’m guessing it would be an extension of the Java project or editor to add a 
new configuration option in the project settings dialog?
I saw something in the New Project wizard tutorial on how to add customizers 
for Projects so I think that might be where it should go..still learning.


I know I can always tail the logs in the terminal, but that’s no fun :)

I’d like a new tab to open up and stream the log file(s) just like IDEA does.

You can configure it in the configuration settings in IntelliJ on a per project 
basis:

Here is the description how to use it: 
https://www.jetbrains.com/help/idea/2021.2/setting-log-options.html



Thanks,
- Tim