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 Sefa Eyeoglu
parent 0b98a0884e
commit a1fbf2b137
No known key found for this signature in database
GPG Key ID: C10411294912A422

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"));
}