You could right-click one of the classes to run it or you could go to the
Project Properties dialog and see a main class to be run there.

It's impossible to reproduce your problem with the info you've provided so
far, if you want further help, make a project with the problem available on
GitHub and send the link here and then someone can take a look at it.

Gj


On Wed, Nov 6, 2019 at 8:07 PM Farouk Alhassan <farouk.alhas...@gmail.com>
wrote:

> Sorry, GJ,
> I meant since we moved to Java 11.
>
> Either way this is an issue with Java 11.04 and Netbeans 11.2
>
> Any ideas what could be the cause? It was an issue in 11.01 too.
>
> Regards
> Farouk A
>
> On Wed, 6 Nov 2019, 17:05 Geertjan Wielenga, <geert...@apache.org> wrote:
>
>> Looks like there are syntax errors. With Java 8, you can’t have been
>> using module-info.java.
>>
>> Gj
>>
>> On Wed, 6 Nov 2019 at 17:59, Farouk Alhassan <farouk.alhas...@gmail.com>
>> wrote:
>>
>>> I have this error whenever I try to run a project in Netbeans 11 and
>>> Java 11. Wasn't an issue with java 8.
>>>
>>> Even though there are classes with main functions, netbeans cannot find
>>> them
>>>
>>> [image: image.png]
>>>
>>

Reply via email to