fix: more user friendly Java warning text

Signed-off-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
This commit is contained in:
Ryan Cao 2022-10-30 11:52:16 +08:00
parent 87b0d3fe11
commit 19a8d51bf3
No known key found for this signature in database

View File

@ -71,5 +71,7 @@ void VerifyJavaInstall::executeTask() {
{
emit logLine(tr("Java version %1").arg(major), MessageLevel::Error);
}
emit logLine(tr("If you are sure your version will work, go to instance settings and check \"Skip Java compatibility checks\"."), MessageLevel::Error);
emitFailed(QString("Incompatible Java major version"));
}