This repository was archived by the owner on Feb 4, 2023. It is now read-only.
Commit cc538b3
committed
Allow specifying
One may wish, for example, to bundle the JRE with their application. When doing so, it is helpful to specify the `JAVA_HOME` relative to the application package folder. This patch will prepend `$AppPackageFolder` to `JAVA_HOME` when looking for `JAVACMD` - but *ONLY* if `JAVA_HOME` is a relative path (doesn't start with `/`). This allows you to set a relative `JAVA_HOME` using `<lsenvironment>` and it will get picked up.JAVA_HOME relative to $AppPackageFolder
1 parent 76222cd commit cc538b3
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
306 | 310 | | |
307 | 311 | | |
308 | 312 | | |
| |||
0 commit comments