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:
malte_langkabel
2016-08-31 12:16:29 +02:00
parent eb621eea33
commit d2de395ed5
16 changed files with 313 additions and 133 deletions
+6
View File
@@ -3,6 +3,7 @@
#include <regex>
#include "utility/logging/logging.h"
#include "utility/utilityString.h"
FilePath::FilePath()
: m_exists(false)
@@ -216,6 +217,11 @@ std::string FilePath::str() const
return m_path.generic_string();
}
std::string FilePath::getBackslashedString() const
{
return utility::replace(str(), "/", "\\");
}
std::string FilePath::fileName() const
{
return m_path.filename().generic_string();