Attempt to change priority order of JRE resolution on Windows. (#4238)
This only changes the resolution settings for our distribution without embedded JRE. For packages with the embedded JRE, we keep the same logic as before. For #4108.
This commit is contained in:
parent
77d958c9d4
commit
cf8b1401fa
@ -25,6 +25,7 @@
|
|||||||
<windows.package.jre.directory>null</windows.package.jre.directory>
|
<windows.package.jre.directory>null</windows.package.jre.directory>
|
||||||
<windows.package.jre.outputDirectory>jre</windows.package.jre.outputDirectory>
|
<windows.package.jre.outputDirectory>jre</windows.package.jre.outputDirectory>
|
||||||
<windows.package.jre.prefix></windows.package.jre.prefix>
|
<windows.package.jre.prefix></windows.package.jre.prefix>
|
||||||
|
<windows.package.jre.bundledAsFallback>false</windows.package.jre.bundledAsFallback>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
@ -215,7 +216,7 @@
|
|||||||
<path>${windows.package.jre.path}</path>
|
<path>${windows.package.jre.path}</path>
|
||||||
<minVersion>${java.minversion}</minVersion>
|
<minVersion>${java.minversion}</minVersion>
|
||||||
<maxVersion>${java.maxversion}</maxVersion>
|
<maxVersion>${java.maxversion}</maxVersion>
|
||||||
<bundledJreAsFallback>true</bundledJreAsFallback>
|
<bundledJreAsFallback>${windows.package.jre.bundledAsFallback}</bundledJreAsFallback>
|
||||||
<initialHeapSize>512</initialHeapSize>
|
<initialHeapSize>512</initialHeapSize>
|
||||||
<maxHeapSize>2048</maxHeapSize>
|
<maxHeapSize>2048</maxHeapSize>
|
||||||
<opts>
|
<opts>
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
<windows.package.jre.directory>${windows.jre.home}</windows.package.jre.directory>
|
<windows.package.jre.directory>${windows.jre.home}</windows.package.jre.directory>
|
||||||
<windows.package.jre.outputDirectory>server/target/jre</windows.package.jre.outputDirectory>
|
<windows.package.jre.outputDirectory>server/target/jre</windows.package.jre.outputDirectory>
|
||||||
<windows.package.jre.prefix>with-java-</windows.package.jre.prefix>
|
<windows.package.jre.prefix>with-java-</windows.package.jre.prefix>
|
||||||
|
<windows.package.jre.bundledAsFallback>true</windows.package.jre.bundledAsFallback>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
Loading…
Reference in New Issue
Block a user