This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:guide:override-jre [2021/06/13 08:38] turikhay |
en:guide:override-jre [2023/06/15 23:02] (current) turikhay |
||
---|---|---|---|
Line 3: | Line 3: | ||
Launcher assigns identifiers for each Java that it installs (''java-runtime-alpha'', ''jre-legacy'' etc). | Launcher assigns identifiers for each Java that it installs (''java-runtime-alpha'', ''jre-legacy'' etc). | ||
- | You can find (and modify) an identifier in the version file (e.g. ''versions/1.17/1.17.json'') in the field value located at ''$.javaVersion.component''. | + | You can find (and modify) an identifier in the version file (e.g. ''versions/1.17/1.17.json'') in the field located at ''$.javaVersion.component''. |
You may want to modify the installed JRE. By default if any JRE file is modified or tampered with, launcher will download it again. Look at the guide below to learn how to prevent the launcher from doing so. | You may want to modify the installed JRE. By default if any JRE file is modified or tampered with, launcher will download it again. Look at the guide below to learn how to prevent the launcher from doing so. | ||
Line 15: | Line 15: | ||
- Create a file with the name "override" (the file extension is ignored) {{ :guide:override-jre-ru-3.png?direct&400 |}} | - Create a file with the name "override" (the file extension is ignored) {{ :guide:override-jre-ru-3.png?direct&400 |}} | ||
- | All done! TL will not longer modify or update this Java, leaving this to you. | + | All done! Legacy Launcher will no longer modify or update this Java, leaving this to you. |
<note important>You don't need to modify ''.version'' file. Launcher will determine JRE version by querying it directly launching the executable file.</note> | <note important>You don't need to modify ''.version'' file. Launcher will determine JRE version by querying it directly launching the executable file.</note> |