Merge pull request #346 from ryanccn/more-user-friendly-java-warning-text-ahaha

This commit is contained in:
txtsd 2022-11-02 10:38:26 +05:30 committed by GitHub
commit d12323396f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,5 +71,7 @@ void VerifyJavaInstall::executeTask() {
{
emit logLine(tr("Java version %1").arg(major), MessageLevel::Error);
}
emit logLine(tr("Go to instance Java settings to change your Java version or disable the Java compatibility check if you know what you're doing."), MessageLevel::Error);
emitFailed(QString("Incompatible Java major version"));
}