![java - How does IntelliJ run a main class without it being specified in the build.gradle? - Stack Overflow java - How does IntelliJ run a main class without it being specified in the build.gradle? - Stack Overflow](https://i.stack.imgur.com/9Yfc3.png)
java - How does IntelliJ run a main class without it being specified in the build.gradle? - Stack Overflow
![Gradle Goodness: Passing Environment Variable Via Delegate Run Action In IntelliJ IDEA - Messages from mrhaki Gradle Goodness: Passing Environment Variable Via Delegate Run Action In IntelliJ IDEA - Messages from mrhaki](https://3.bp.blogspot.com/-gHpOeYzRggo/WE_PMjxftDI/AAAAAAAALvo/gxUJAclCU3k2RGKtaUj5zU3LXGHMPQR4ACLcB/s1600/idea-run-debug-conf.png)
Gradle Goodness: Passing Environment Variable Via Delegate Run Action In IntelliJ IDEA - Messages from mrhaki
![java - Running main method with IntelliJ in gradle project, but with only the System.out output - Stack Overflow java - Running main method with IntelliJ in gradle project, but with only the System.out output - Stack Overflow](https://i.stack.imgur.com/tj9dv.png)
java - Running main method with IntelliJ in gradle project, but with only the System.out output - Stack Overflow
![Can't run any Project. Error: Could not find or load main class com.mygame. Main and more - General Help - jMonkeyEngine Hub Can't run any Project. Error: Could not find or load main class com.mygame. Main and more - General Help - jMonkeyEngine Hub](https://hub.jmonkeyengine.org/uploads/default/original/4X/5/b/7/5b7e11868d09f379920266df9d18ebf68d2026e6.png)
Can't run any Project. Error: Could not find or load main class com.mygame. Main and more - General Help - jMonkeyEngine Hub
![Cannot get a "Hello World" Gradle project to run. Error: Could not find or load main class : r/IntelliJIDEA Cannot get a "Hello World" Gradle project to run. Error: Could not find or load main class : r/IntelliJIDEA](https://preview.redd.it/cannot-get-a-hello-world-gradle-project-to-run-error-could-v0-81b81moqxplc1.png?width=1021&format=png&auto=webp&s=521ec9d5dd84c2e5fe105a2efff363fa603009fd)