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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user