Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5347

run.sh script using IBM java cannot detect 64bit version

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • EAP_EWP 5.1.1
    • EAP_EWP 5.1.0
    • Scripts and Commands
    • None
    • Workaround Exists
    • Hide

      Change run.sh to grep command specified in description.

      Show
      Change run.sh to grep command specified in description.
    • Not Required

    Description

      When using IBM JDK and starting EAP with jboss natives unpacked on proper place run.sh doesn't detect 64bit version of jvm correctly.
      In fact it sets it to 32bit all the time.

      In run.sh there is a grep command used to detect binary version and IBM JDK's java -version output doesn't contain "64-bit" string, rather "amd64-64".

      Maybe we can use:
      IS_64_BIT_JVM=`"$JAVA" $JVM_OPTVERSION 2>&1 | $GREP -i -e 64-bit -e amd64-64`
      instead of original.

      Attachments

        Activity

          People

            permaine Permaine Cheung
            pskopek@redhat.com Peter Skopek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: