ui: java not found popup
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
#include "data/parser/java/JavaEnvironmentFactory.h"
|
||||
#include "data/parser/java/TaskParseJava.h"
|
||||
#include "isTrial.h"
|
||||
#include "utility/ResourcePaths.h"
|
||||
#include "Application.h"
|
||||
#include "isTrial.h"
|
||||
|
||||
JavaProject::~JavaProject()
|
||||
{
|
||||
@@ -43,6 +44,10 @@ JavaProject::JavaProject(
|
||||
ResourcePaths::getJavaPath() + "java-symbol-solver-model.jar"
|
||||
);
|
||||
}
|
||||
if (!JavaEnvironmentFactory::getInstance() && !isTrial())
|
||||
{
|
||||
Application::getInstance()->handleDialog("Coati was unable to locate Java on this machine.\nPlease make sure to provide the correct path in your preferences.");
|
||||
}
|
||||
}
|
||||
|
||||
std::shared_ptr<Task> JavaProject::createIndexerTask(
|
||||
|
||||
Reference in New Issue
Block a user