Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Spoon 3.0 on Linux

  1. #1
    Join Date
    Nov 2007
    Posts
    7

    Default Spoon 3.0 on Linux

    New installs of Kettle on Suse Enterprise 10.x not able to start Spoon. Either version. (2.5.1 or 3.0). Both work on various Windows installs I have. Any suggestions? Thanks.
    George

    Details:
    command: uname -a yields result:
    Linux secure2 2.6.16.53-0.16-default #1 Tue Oct 2 16:57:49 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux

    command: Java -version yields result:
    java version "1.5.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build pxi32devifx-20071025 (SR6b))
    IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20071005 (JIT enabled)
    J9VM - 20071004_14218_lHdSMR
    JIT - 20070820_1846ifx1_r8
    GC - 200708_10)
    JCL - 20071025

    For Version 3.0, sh spoon.sh yields message:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3346 or swt-gtk in swt.library.path, java.library.path or the jar file
    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 java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:159)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Unknown Source)
    at org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:355)

    For Version 2..5.1, sh spoon.sh yields message:
    Stream not found for filename [/build_version.txt], looking for it on the normal filesystem...
    Unable to load revision number from file : [build_version.txt] : java.io.FileNotFoundException: ./build_version.txt (No such file or directory)
    java.io.FileNotFoundException: ./build_version.txt (No such file or directory)
    at java.io.FileInputStream.<init>(FileInputStream.java:135)
    at java.io.FileInputStream.<init>(FileInputStream.java:95)
    at be.ibridge.kettle.version.BuildVersion.<init>(BuildVersion.java:65)
    at be.ibridge.kettle.version.BuildVersion.getInstance(BuildVersion.java:37)
    at be.ibridge.kettle.core.util.EnvUtil.addInternalVariables(EnvUtil.java:88)
    at be.ibridge.kettle.core.util.EnvUtil.environmentInit(EnvUtil.java:73)
    at be.ibridge.kettle.spoon.Spoon.main(Spoon.java:7060)

    Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-gtk-3333 or swt-gtk in swt.library.path, java.libary.path or the jar file
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
    at org.eclipse.swt.internal.C.<clinit>(C.java:21)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:159)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
    at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
    at org.eclipse.swt.widgets.Display.<clinit>(Display.java:128)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:194)
    at be.ibridge.kettle.spoon.Spoon.main(Spoon.java:7064)

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    That's an IBM JVM you have there.
    It actually might have different options to do things like setting variables or dealing with native libraries.
    Honestly, I don't know. I never played around with the IBM JVM that much.

  3. #3
    Join Date
    Nov 2007
    Posts
    7

    Default

    Thanks Matt.
    I didn't 'pick' the IBM JVM --- so I don't have any reason to leave it intact -- if you are suggesting I replace it with Sun.

    Are you?

    George

  4. #4
    Join Date
    Nov 2007
    Posts
    7

    Default SPOON 3 now starts!

    SPOON 3 now starts!

    Changed out JRE.
    Command: java -version yields:
    java version "1.6.0_03"
    Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
    Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)

  5. #5
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    I think it has something to do with the new way that SWT embeds libraries inside of the jar files. I bet that the IBM JRE has a problem with that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.