Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8048

Fuse 7 can't be started on Solaris 11, Aix 7.2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.0
    • fuse-7.0
    • Karaf
    • None
    • % %
    • Fuse 7.0 Sprint 28

    Description

      export JAVA_HOME=/qa/tools/opt/solaris11_sparc/jdk1.8.0_last
      hudson@solaris2-03-fuseqe:~/workspace/avano-deleteme/fuse-karaf-7.0.0.fuse-000179$ bin/fuse
      sed: command garbled: s/_.*//g; s/^1\.//g ; s/\..*//g;
      awk: can't open /version/ {print $2}
      karaf: JVM must be greater than 1.8
      

      the sed command is in bin/inc:

      210 checkJvmVersion() {
      211     VERSION=$("${JAVA}" -version 2>&1 | awk -F '"' '/version/ {print $2}' | sed -e 's/_.*//g; s/^1\.//g ; s/\..*//g;')
      212     if [ "${VERSION}" -lt "8" ]; then
      213         die "JVM must be greater than 1.8"
      214     fi
      215 }
      

      Attachments

        Issue Links

          Activity

            People

              acosenti Andrea Cosentino
              avano@redhat.com Andrej Vano
              Andrej Vano Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: