We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36beb74 commit 0c954a5Copy full SHA for 0c954a5
compiler/src/dotty/tools/dotc/config/CompilerCommand.scala
@@ -115,6 +115,9 @@ object CompilerCommand extends DotClass {
115
else if (settings.version.value) {
116
ctx.echo(versionMsg)
117
Nil
118
+ } else if (!Properties.isJavaAtLeast("1.8")) {
119
+ ctx.error("Dotty requires Java 8 or newer to run")
120
+ Nil
121
}
122
else if (shouldStopWithInfo) {
123
ctx.echo(infoMessage)
0 commit comments