[FIX] Launch4j build exe

This commit is contained in:
Gravita 2023-01-25 18:02:24 +07:00
parent 9d719c48e3
commit 6d1440207b

View file

@ -83,6 +83,7 @@ private Path setConfig() {
jre.setMinVersion(server.config.launch4j.minVersion); jre.setMinVersion(server.config.launch4j.minVersion);
if (server.config.launch4j.setMaxVersion) if (server.config.launch4j.setMaxVersion)
jre.setMaxVersion(server.config.launch4j.maxVersion); jre.setMaxVersion(server.config.launch4j.maxVersion);
jre.setPath(System.getProperty("java.home"));
config.setJre(jre); config.setJre(jre);
// Prepare version info (product) // Prepare version info (product)