Just did a fresh install of Gradle (did a clean reinstall after I started encountering this problem). When running “gradle” it ignores any command line errors, simply throwing out “Error: Could not find or load main class export”. It does this regardless of project I’m in (even if I’m not in a project at all). I tried this first using the version of gradle that ships with my operating system and later using the binary release from gradle.org, with no difference. I can provide any other information needed.
EDIT: Thought I should note, my operating system is Ubuntu 15.10, and I’m using OpenJDK 1.8 (and Java is working fine)
EDIT: It should be noted that this error persists with the gradle build from Ubuntu, the build from gradle-ppa, the build from gradle.org, and the wrapper shipped with other applications