简体   繁体   中英

install4j Updater -> Java Path not remembered

Our application is installed first time via install4j and after this installation we have the file inst_jre.cfg in the .install4j folder where the "selection" of the Java installation was selected during the installation. This is fine.

Now, when there is an update with "Update downloader with silent Version check", an update is recognised but again the install4j Assitant asks the user to give the Java installation path. It is not clear why the install4j assitant asks for the Java path again even though the Java path is stored in the inst_jre.cfg file. How can this be avoided?

在此处输入图像描述

As of install4j 9, a new installer does not check previous installations for their preferred JRE.

One way to let the next installer know about a JRE is to set an an environment variable with a "Modify an environment variable on Windows" action and add the and environment variable entry on the "General settings->JRE Bundles->Search Sequence" step.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM