Trying to update an application to Java 11 and after sorting through hell with modules I thought I had got rid of all the red errors and now I'm getting this one I've never seen before:
Looking around I've seen people suggest it is possible to do with the application structure:
or the module-info.java file:
Can anybody see what I need to do to get rid of this?
Edit: Error after moving Main.java to a package called 'main' and trying to run it: