This repository was archived by the owner on Feb 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,32 @@ Supported PList keys
166166| ** Main Class Arguments** | ` :Java(X):Arguments ` | ` :JVMArguments ` |
167167
168168
169+ ### Specify min/max Java requirement
170+
171+ Since v3.0 ([ #51 ] ( https://github.com/tofi86/universalJavaApplicationStub/issues/51 ) )
172+
173+ Use ` Java(X):JVMVersion ` (Apple style) or ` :JVMVersion ` (Oracle style) with the following values:
174+
175+ * ` 1.8 ` or ` 1.8* ` for Java 8
176+ * ` 1.8+ ` for Java 8 or higher
177+ * ` 1.7;1.8* ` for Java 7 or 8
178+ * ` 1.8;9.0 ` for Java 8* up to exactly 9.0 (but not 9.0.* )
179+ * ` 1.8;9.0* ` for Java 8* and 9.0.* but not 9.1.*
180+
181+
182+ ### Bundle a JRE/JDK with your app
183+
184+ You can use the Plist key ` LSEnvironment ` to export and set the ` $JAVA_HOME ` environment variable relative to your App's root directory:
185+
186+ ``` xml
187+ <key >LSEnvironment</key >
188+ <dict >
189+ <key >JAVA_HOME</key >
190+ <string >Contents/Frameworks/jdk8u232-b09-jre/Contents/Home</string >
191+ <dict >
192+ ```
193+
194+
169195Recommended additional Plist keys
170196---------------------------------
171197
You can’t perform that action at this time.
0 commit comments