You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,34 +40,36 @@ How the script works
40
40
41
41
You don't need a native `JavaApplicationStub` file anymore. The Shell script needs to be executable – that's all.
42
42
43
-
The script reads JVM properties from `Info.plist` regardless of whether it's Apple or Oracle flavour and feeds it to a commandline `java` call like the following:
43
+
The script reads JVM properties from `Info.plist` regardless of whether it's Apple or Oracle style and feeds them to a commandline `java` call like the following:
It sets the classpath, the dock icon, the *AboutMenuName* (in Xdock style) and then every *JVMOptions*, *JVMDefaultOptions* or *JVMArguments* found in the `Info.plist` file.
67
69
68
70
The WorkingDirectory is either retrieved from Apple's Plist key `Java/WorkingDirectory` or set to the JavaRoot directory within the app bundle.
69
71
70
-
The name of the *main class* is also retrieved from `Info.plist`. If no *main class* is found, an applescript error dialog is shown and the script exits with *exit code 1*.
72
+
The name of the *main class* is also retrieved from `Info.plist`. If no *main class* is found, an AppleScript error dialog is shown and the script exits with *exit code 1*.
71
73
72
74
There is some *foo* happening to determine which Java versions are installed – here's the list in which order system properties are checked:
73
75
@@ -81,7 +83,7 @@ There is some *foo* happening to determine which Java versions are installed –
81
83
3. If you require a specific Java version with the Plist key `JVMVersion` the script will try to find a matching JDK or JRE in all of the above locations
82
84
* if multiple matching JVM's are found, the script will pick the latest (highest version number)
83
85
84
-
If none of these could be found or executed the script shows an applescript error dialog saying that Java needs to be installed:
86
+
If none of these could be found or executed the script shows an AppleScript error dialog saying that Java needs to be installed:
85
87
86
88

0 commit comments