logic: revised loading Java library
* implemented a dynamic way (that does not involve the linker) to load the Java runtime library * implemented JavaPathDetectorLinux * Filepicker for Java runtime library now asks to pick JVM library instead of folder * extended error handling for JavaEnvironmentFactory
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "utility/utilityApp.h"
|
||||
|
||||
#include <QProcess>
|
||||
#include "utility/utilityString.h"
|
||||
|
||||
std::string utility::executeProcess(const char *cmd)
|
||||
{
|
||||
@@ -10,6 +11,7 @@ std::string utility::executeProcess(const char *cmd)
|
||||
process.waitForFinished();
|
||||
std::string processoutput = process.readAll().toStdString();
|
||||
process.close();
|
||||
processoutput = utility::trim(processoutput);
|
||||
|
||||
return processoutput;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user