java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Pentaho BI Platform Tracking | Jéssica Rosa | 7 months ago
  1. 0

    Hello, I have the same problem as the colleague mentioned.
 http://jira.pentaho.com/browse/PDI-3884 I made the change to the file as indicated, however exibie the message. ++ head -1
++ find /usr/lib maxdepth 1 -name 'xulrunner[0-9]*'
+ MOZILLA_FIVE_HOME=
+ LD_LIBRARY_PATH=:
+ export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
+ export GDK_NATIVE_WINDOWS=1
+ GDK_NATIVE_WINDOWS=1
+ export LIBOVERLAY_SCROLLBAR=0
+ LIBOVERLAY_SCROLLBAR=0
++ dirname ./spoon.sh
+ BASEDIR=.
+ cd .
++ pwd
+ DIR=/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ cd -
/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ . /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/set-pentaho-env.sh
+ setPentahoEnv
++ dirname ./spoon.sh
+ DIR_REL=.
+ cd .
++ pwd
+ DIR=/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ cd -
+ '[' -n '' ']'
+ __LAUNCHER=java
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/java/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../java/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../../jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../../java/bin/java ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ _PENTAHO_JAVA_HOME=
+ _PENTAHO_JAVA=java
+ LIBPATH=NONE
+ STARTUP='-jar launcher/pentaho-application-launcher-5.0.1-stable.jar'
+ case `uname -s` in
++ uname -s
++ uname -m
+ ARCH=i386
+ OPT='-XstartOnFirstThread '
+ case $ARCH in
+ LIBPATH=./../libswt/osx/
+ export LIBPATH
+ '[' -z '' ']'
+ PENTAHO_DI_JAVA_OPTIONS='-Xmx512m -XX:MaxPermSize=256m'
+ OPT='-XstartOnFirstThread -Xmx512m -XX:MaxPermSize=256m -Djava.library.path=./../libswt/osx/ -DKETTLE_HOME= -DKETTLE_REPOSITORY= -DKETTLE_USER= -DKETTLE_PASSWORD= -DKETTLE_PLUGIN_PACKAGES= -DKETTLE_LOG_SIZE_LIMIT= -DKETTLE_JNDI_ROOT='
+ java -XstartOnFirstThread -Xmx512m -XX:MaxPermSize=256m -Djava.library.path=./../libswt/osx/ -DKETTLE_HOME= -DKETTLE_REPOSITORY= -DKETTLE_USER= -DKETTLE_PASSWORD= -DKETTLE_PLUGIN_PACKAGES= -DKETTLE_LOG_SIZE_LIMIT= -DKETTLE_JNDI_ROOT= -jar launcher/pentaho-application-launcher-5.0.1-stable.jar -lib ./../libswt/osx/ ''
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at org.pentaho.di.ui.core.widget.OsHelper.setAppName(OsHelper.java:81)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Can you help me?

    Pentaho BI Platform Tracking | 7 months ago | Jéssica Rosa
    java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
  2. 0

    Hello, I have the same problem as the colleague mentioned.
 http://jira.pentaho.com/browse/PDI-3884 I made the change to the file as indicated, however exibie the message. ++ head -1
++ find /usr/lib maxdepth 1 -name 'xulrunner[0-9]*'
+ MOZILLA_FIVE_HOME=
+ LD_LIBRARY_PATH=:
+ export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
+ export GDK_NATIVE_WINDOWS=1
+ GDK_NATIVE_WINDOWS=1
+ export LIBOVERLAY_SCROLLBAR=0
+ LIBOVERLAY_SCROLLBAR=0
++ dirname ./spoon.sh
+ BASEDIR=.
+ cd .
++ pwd
+ DIR=/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ cd -
/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ . /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/set-pentaho-env.sh
+ setPentahoEnv
++ dirname ./spoon.sh
+ DIR_REL=.
+ cd .
++ pwd
+ DIR=/Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration
+ cd -
+ '[' -n '' ']'
+ __LAUNCHER=java
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/java/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../java/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../../jre/bin/java ']'
+ '[' -x /Users/jessicacastro/Desktop/Sistemas-de-Apoio-a-Decisao/data-integration/../../java/bin/java ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
+ _PENTAHO_JAVA_HOME=
+ _PENTAHO_JAVA=java
+ LIBPATH=NONE
+ STARTUP='-jar launcher/pentaho-application-launcher-5.0.1-stable.jar'
+ case `uname -s` in
++ uname -s
++ uname -m
+ ARCH=i386
+ OPT='-XstartOnFirstThread '
+ case $ARCH in
+ LIBPATH=./../libswt/osx/
+ export LIBPATH
+ '[' -z '' ']'
+ PENTAHO_DI_JAVA_OPTIONS='-Xmx512m -XX:MaxPermSize=256m'
+ OPT='-XstartOnFirstThread -Xmx512m -XX:MaxPermSize=256m -Djava.library.path=./../libswt/osx/ -DKETTLE_HOME= -DKETTLE_REPOSITORY= -DKETTLE_USER= -DKETTLE_PASSWORD= -DKETTLE_PLUGIN_PACKAGES= -DKETTLE_LOG_SIZE_LIMIT= -DKETTLE_JNDI_ROOT='
+ java -XstartOnFirstThread -Xmx512m -XX:MaxPermSize=256m -Djava.library.path=./../libswt/osx/ -DKETTLE_HOME= -DKETTLE_REPOSITORY= -DKETTLE_USER= -DKETTLE_PASSWORD= -DKETTLE_PLUGIN_PACKAGES= -DKETTLE_LOG_SIZE_LIMIT= -DKETTLE_JNDI_ROOT= -jar launcher/pentaho-application-launcher-5.0.1-stable.jar -lib ./../libswt/osx/ ''
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
at org.pentaho.di.ui.core.widget.OsHelper.setAppName(OsHelper.java:81)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Can you help me?

    Pentaho BI Platform Tracking | 7 months ago | Jéssica Rosa
    java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsatisfiedLinkError

      Cannot load 32-bit SWT libraries on 64-bit JVM

      at org.eclipse.swt.internal.Library.loadLibrary()
    2. RWT
      Display.<clinit>
      1. org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
      2. org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
      3. org.eclipse.swt.internal.C.<clinit>(Unknown Source)
      4. org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
      4 frames
    3. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.core.widget.OsHelper.setAppName(OsHelper.java:81)
      2. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:566)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame