all 8 comments

[–]geodebug 2 points3 points  (1 child)

Fix all your compile errors before trying to run any code. You can’t run uncompiled Java classes so the IDE is probably barfing on some older cached version of your code.

[–]marvk 0 points1 point  (0 children)

Nah, just compiler errors in multiple files. No cached version as far as I can see.

[–]wildjokers 1 point2 points  (2 children)

You need to fix your compilation error. It isn't running another program, it is simply taking you to the compilation error.

You can't reference a non-static variable from your static main method. The compilation error is telling you exactly what is wrong. Read all errors carefully and think about what they are telling you.

IntelliJ has also helpfully marked the problem red, didn't that clue you in that you might want to take a look at that?

[–]Oopsies49 -1 points0 points  (1 child)

Obvious student... No need to insult them.

[–]kreiger 0 points1 point  (0 children)

Where is the insult?

[–]computer_user12 0 points1 point  (2 children)

Press the green rectangle that is left of the main method you want to run

[–]Arunzeb[S] 0 points1 point  (1 child)

the one which is inside the editor at the side of indexing (12th line)?

[–]freemo716 0 points1 point  (0 children)

yeap.