diff options
-rw-r--r-- | util.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -94,6 +94,8 @@ def find_jre(): if sys.platform == 'win32': # We can try and use the Minecraft Launcher's integrated JRE on Windows if os.path.exists("C:\\Program Files (x86)\\Minecraft Launcher\\runtime\\jre-x64\\java.exe"): return "C:\\Program Files (x86)\\Minecraft Launcher\\runtime\\jre-x64\\java.exe" + elif os.path.exists("C:\\Program Files (x86)\\Minecraft Launcher\\runtime\\jre-x64\\bin\\java.exe"): + return "C:\\Program Files (x86)\\Minecraft Launcher\\runtime\\jre-x64\\bin\\java.exe" raise RuntimeError("Unable to detect an installed JRE. Please install Java in order to use modpackman.") |