Use environment variables to detect Java on Windows. Closes #2069.
This commit is contained in:
parent
154d62ae5b
commit
80e0fa8bb9
@ -112,6 +112,7 @@
|
|||||||
<postCp>server/target/lib/*.jar</postCp>
|
<postCp>server/target/lib/*.jar</postCp>
|
||||||
</classPath>
|
</classPath>
|
||||||
<jre>
|
<jre>
|
||||||
|
<path>%JAVA_HOME%;%PATH%</path>
|
||||||
<minVersion>1.8.0</minVersion>
|
<minVersion>1.8.0</minVersion>
|
||||||
<jdkPreference>preferJre</jdkPreference>
|
<jdkPreference>preferJre</jdkPreference>
|
||||||
<initialHeapSize>512</initialHeapSize>
|
<initialHeapSize>512</initialHeapSize>
|
||||||
|
Loading…
Reference in New Issue
Block a user