Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2830

Karaf scripts java version check should be more "flexible"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.2, 4.0.0.M3
    • karaf
    • None
    • Java8

    Description

      If the java -version output returns something different from x.x.x (like 1.7.0, which is the case with Java8), the Karaf script fails with:

      ./karaf: line 242: [: : integer expression expected
      

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: