Created
March 19, 2020 23:50
-
-
Save enebo/d0bebfc3224cd7fda4d03272858a6734 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/platformlauncher.cpp b/platformlauncher.cpp | |
| index 8205751..fe54278 100644 | |
| --- a/platformlauncher.cpp | |
| +++ b/platformlauncher.cpp | |
| @@ -147,10 +147,8 @@ bool PlatformLauncher::start(char* argv[], int argc, DWORD *retCode, const char* | |
| suppressConsole = false; | |
| } else { | |
| if (jdkhome.empty()) { | |
| - if (!jvmLauncher.initialize(REQ_JAVA_VERSION)) { | |
| - logErr(false, true, "Cannot find Java %s or higher.", REQ_JAVA_VERSION); | |
| - return false; | |
| - } | |
| + // attempt to get JDK home from registry | |
| + jvmLauncher.initialize(REQ_JAVA_VERSION); | |
| } | |
| if (!jdkhome.empty()) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment