Commit 9b5494f
committed
Make java command of "mvn -Pexec" configurable
Unfortunately, the value of JAVA_HOME is not preserved when forking
the JVM. As a workaround, we can at least make it work to run:
mvn -Pexec -Dscijava.exec.java="$JAVA_HOME/bin/java"
Or similar, to force it.1 parent 8cb62ba commit 9b5494f
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
213 | 216 | | |
214 | 217 | | |
215 | 218 | | |
| |||
1386 | 1389 | | |
1387 | 1390 | | |
1388 | 1391 | | |
1389 | | - | |
| 1392 | + | |
1390 | 1393 | | |
1391 | 1394 | | |
1392 | 1395 | | |
| |||
0 commit comments