-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LPD-41359 installers: consolidate autodetect-java logic to a single file
- Loading branch information
1 parent
be81f2a
commit b417509
Showing
4 changed files
with
29 additions
and
83 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,29 @@ | ||
<autodetectJava> | ||
<abortOnError>0</abortOnError> | ||
<customErrorMessage>The installer could not find a valid Java(tm) through standard installation paths or environment variables on this machine. Required JDK versions: 1.8 64-Bit JDK or 11 64-Bit JDK. Please click OK and browse a valid java executable file to continue.</customErrorMessage> | ||
<promptUser>1</promptUser> | ||
<ruleList> | ||
<platformTest> | ||
<negate>1</negate> | ||
<type>windows</type> | ||
</platformTest> | ||
</ruleList> | ||
<validVersionList> | ||
<validVersion> | ||
<bitness>64</bitness> | ||
<maxVersion>1.8</maxVersion> | ||
<minVersion>1.8</minVersion> | ||
<requireJDK>1</requireJDK> | ||
<vendor></vendor> | ||
</validVersion> | ||
<validVersion> | ||
<bitness>64</bitness> | ||
<maxVersion>11</maxVersion> | ||
<minVersion>11</minVersion> | ||
<requireJDK>1</requireJDK> | ||
<vendor></vendor> | ||
</validVersion> | ||
<validVersion> | ||
<bitness>64</bitness> | ||
<maxVersion>17</maxVersion> | ||
<minVersion>17</minVersion> | ||
<requireJDK>1</requireJDK> | ||
<vendor></vendor> | ||
</validVersion> | ||
<validVersion> | ||
<bitness>64</bitness> | ||
<maxVersion>21</maxVersion> | ||
<minVersion>21</minVersion> | ||
<requireJDK>1</requireJDK> | ||
<vendor></vendor> | ||
</validVersion> | ||
</validVersionList> | ||
</autodetectJava> | ||
<if> | ||
<actionList> | ||
<autodetectJava> | ||
<promptUser>1</promptUser> | ||
<validVersionList> | ||
<validVersion bitness="64" maxVersion="1.8" minVersion="1.8" requireJDK="1" /> | ||
<validVersion bitness="64" maxVersion="11" minVersion="11" requireJDK="1" /> | ||
<validVersion bitness="64" maxVersion="17" minVersion="17" requireJDK="1" /> | ||
<validVersion bitness="64" maxVersion="21" minVersion="21" requireJDK="1" /> | ||
</validVersionList> | ||
</autodetectJava> | ||
</actionList> | ||
<conditionRuleList> | ||
<platformTest type="windows" /> | ||
</conditionRuleList> | ||
<elseActionList> | ||
<autodetectJava> | ||
<abortOnError>0</abortOnError> | ||
<customErrorMessage>The installer could not find a valid Java(tm) through standard installation paths or environment variables on this machine. Required JDK versions: 1.8 64-Bit JDK or 11 64-Bit JDK. Please click OK and browse a valid java executable file to continue.</customErrorMessage> | ||
<promptUser>1</promptUser> | ||
<validVersionList> | ||
<validVersion bitness="64" maxVersion="1.8" minVersion="1.8" requireJDK="1" /> | ||
<validVersion bitness="64" maxVersion="11" minVersion="11" requireJDK="1" /> | ||
<validVersion bitness="64" maxVersion="17" minVersion="17" requireJDK="1" /> | ||
<validVersion bitness="64" maxVersion="21" minVersion="21" requireJDK="1" /> | ||
</validVersionList> | ||
</autodetectJava> | ||
</elseActionList> | ||
</if> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters