Hi,
I realised you're using the application plugin by following this tutorial https://openjfx.io/openjfx-docs/#gradle.
Well, if a beginner just ./gradlew run after adding plugin and javafx, he will face the "No main class specified and classpath is not an executable jar" error, since one more step is mandatory https://docs.gradle.org/current/userguide/application_plugin.html.
Maybe by adding this additional step in the tutorial it could be more friendly for newcomers.
application {
mainClass = 'Main'
}
Chers.