Use environment variables to detect Java on Windows. Closes #2069.

This commit is contained in:
Antonin Delpeuch 2019-07-22 17:13:25 +01:00
parent 154d62ae5b
commit 80e0fa8bb9

View File

@ -112,6 +112,7 @@
<postCp>server/target/lib/*.jar</postCp>
</classPath>
<jre>
<path>%JAVA_HOME%;%PATH%</path>
<minVersion>1.8.0</minVersion>
<jdkPreference>preferJre</jdkPreference>
<initialHeapSize>512</initialHeapSize>