Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-2205

Fail the installation if user use JDK<8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.ER3
    • 7.0.0.ER2 (Beta)
    • Installer
    • None

      EAP 7 requires Java version 1.8 or later (post-installation task would fail with older JDK). Installation should fail immediately if user doesn't use at least version 1.8.

      Installer could use the same message as EAP does:

      [pkremens@dhcp-10-40-5-125 bin] $ ./standalone.sh
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /home/pkremens/workspace/jboss-eap-7.0
      
        JAVA: /usr/lib/java/jdk1.7.0_last/bin/java
      
        JAVA_OPTS:  -server -verbose:gc -Xloggc:"/home/pkremens/workspace/jboss-eap-7.0/standalone/log/gc.log" -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=3M -XX:-TraceClassUnloading -Xms1303m -Xmx1303m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
      
      =========================================================================
      
      This application requires Java specification version 1.8 or later to run (this Java virtual machine implements specification version 1.7)
      

              thauser_jira Thomas Hauser (Inactive)
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: