From 63effac233bb3dc223bd2a5516ca20d0a86420bd Mon Sep 17 00:00:00 2001 From: Ingo Bauersachs Date: Sat, 6 Dec 2014 14:18:38 +0100 Subject: Rename the Java key to Javax in Jitsi.app's Info.plist As soon as a dictionary with the name Java is present in Info.plist, OS X tries to open/install Apple's old Java 6 JVM, regardless of what the actual native launcher wants to do. --- src/native/macosx/launcher/launcher.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/native') diff --git a/src/native/macosx/launcher/launcher.m b/src/native/macosx/launcher/launcher.m index f090f44..6cc7dbc 100644 --- a/src/native/macosx/launcher/launcher.m +++ b/src/native/macosx/launcher/launcher.m @@ -9,7 +9,8 @@ #import #include -#define JVM_JAVA_KEY "Java" +#define JVM_JAVA_KEY "Javax" // Cannot be Java + // or OSX requests the old Apple JVM #define JVM_WORKING_DIR_KEY "WorkingDirectory" #define JVM_MAIN_CLASS_NAME_KEY "MainClass" #define JVM_CLASSPATH_KEY "ClassPath" -- cgit v1.1