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

Karaf scripts java version check should be more "flexible"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.2, 4.0.0.M3
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: