Validate existence of JRE, if not present show a message and redirect to a URL



1 comment

  • Avatar

    Figured out the solution by myself. Below is the xml..

        <!-- Set abortOnError="0" and showMessageOnError="0" so the action does not report any error if Java is not detected -->
        <autodetectJava selectionOrder="newest" promptUser="0" abortOnError="0" showMessageOnError="1">
                    <text>The installer will re-direct you to the website to install Java(tm). After installing Java(tm), please install the software.</text>
                <isFalse value="${java_autodetected}"/>
    Comment actions Permalink

Please sign in to leave a comment.