Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Not a Bug
    • Affects Version/s: 4.4.0 GA (4.8.0 GA Suite Release)
    • Fix Version/s: None
    • Labels:
    • Environment:
      RHEL 6.2 (kernel 2.6.32 x86_64), IBM Java 1.6.0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      (This is very similar to PDI-3884) In RHEL, IBM Java 1.6.0 (package java-1.6.0-ibm) is the default JVM. However spoon.sh does not correctly identify it as a 64-bit version of Java. As a result, starting spoon produces the error message "Spoon - Fatal error : java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM"

      > cat /etc/issue
      Red Hat Enterprise Linux Server release 6.2 (Santiago)
      Kernel \r on an \m

      > uname -a
      Linux myhostname 2.6.32-220.17.1.el6.x86_64 #1 SMP Thu Apr 26 13:37:13 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

      > /usr/bin/java -version
      java version "1.6.0"
      Java(TM) SE Runtime Environment (build pxa6460sr9fp2-20110625_01(SR9 FP2))
      IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110624_85526 (JIT enabled, AOT enabled)
      J9VM - 20110624_085526
      JIT - r9_20101028_17488ifx17
      GC - 20101027_AA)
      JCL - 20110530_01

      Pentaho 4.4.0 (community) spoon.sh : line 83
      if $($_PENTAHO_JAVA -version 2>&1 | grep "64-Bit" > /dev/null )

      Corrected line (which assumes egrep is in the path):
      if $($_PENTAHO_JAVA -version 2>&1 | egrep -i "(64-Bit|amd64-64)" > /dev/null )

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              dswhite42 David White
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: