From b14fd6c2970f6ece5713647cd0e9adc3330ed76f Mon Sep 17 00:00:00 2001 From: Sarang Ratnalikar Date: Fri, 18 Dec 2020 17:36:40 +0530 Subject: [PATCH] Fixing application start up issue. Problem: ``` ERROR launching JD-GUI No suitable Java version found on your system! This program requires Java 1.8+ Make sure you install the required Java version. ``` Solution: I recently found that due to this '+' application is not able to find Java 1.8 even it is present in Mac OS. As `java -vesrison` command out put is as below, ``` sarang@Sarangs-MacBook-Pro:~$ java -version java version "1.8.0_261" Java(TM) SE Runtime Environment (build 1.8.0_261-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode) ``` --- src/osx/resources/Info.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osx/resources/Info.plist b/src/osx/resources/Info.plist index 264b3fd3..44cd9a5b 100644 --- a/src/osx/resources/Info.plist +++ b/src/osx/resources/Info.plist @@ -146,7 +146,7 @@ JavaX MainClass org.jd.gui.OsxApp - JVMVersion 1.8+ + JVMVersion 1.8 ClassPath \$JAVAROOT/${JAR} WorkingDirectory \$JAVAROOT Properties