Hitachi Vantara Pentaho Community Forums
Results 1 to 9 of 9

Thread: Launching kettle 3.0.2 Spoon editor

  1. #1

    Default Launching kettle 3.0.2 Spoon editor

    Hi,

    I have installed kettle 3.0.2 on windows 2003 R2 machine.
    The JAVA_HOME and Path variables are configured with appropriate paths accordingly.

    java -version command shows:

    java version "1.5.0_14"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
    BEA JRockit(R) (build R27.5.0-110_o-99226-1.5.0_14-20080528-1505-windows-x86_64, compiled mode)

    Still, i am unable to launch the spoon editor. Am i missing on something?
    I did try setting JAVA_HOME and PATH variables in spoon.bat file as well.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Any other error messages?

    Probably you hit the known problem of CLASSPATH length under windows 200x ... try removing any jdbc driver you don't need from the libext directory of PDI.

    Regards,
    Sven

  3. #3

    Default

    Hi Sven,

    Yes, i was facing the issue of CLASSPATH length under windows 200x.
    I did have a look at the thread "Can't run Kettle3.0.0 in Windows 2000 " and removed many jdbc drivers.

    But still it prompts with the error message
    "Could not find main class. Program will exit"

  4. #4
    Join Date
    May 2006
    Posts
    4,882

    Default

    Did you unzip the installation file of PDI correctly (hint: you need to have subdirectories).

    And are you executing spoon in the main PDI directory.

    Regards,
    Sven

  5. #5

    Default

    I have unzipped Kettle-3.0.2.rar in a directory.

    And i see the following sub folders:
    docs,extra,lib,libext,libswt,META-INF,plugins,kettle.exe,Pan.bat,Spoon.bat.... etc

    Actually I am suspecting one thing. Let me know if i am right.
    In the Spoon.bat file, i tried redirecting the output of
    echo %CLASSPATH% to a temporary file

    And i am observing this output in the temporary text file:
    ".;lib\*.jar;libext\*.jar;;libext\JDBC\*.jar;libext\webservices\*.jar;libext\commons\*.jar;libext\web\*.jar;libext\pentaho\*.jar;libext\spring\*.jar;libswt\*.jar;libswt\win32\swt.jar "

    Is it that the path of the jars are not getting expanded?

  6. #6
    Join Date
    May 2006
    Posts
    4,882

    Default

    You need to start it up in the root directory of the PDI installation, as in one of the previous replies.

    Regards,
    Sven

  7. #7

    Default

    I have placed this new SpoonWindows2000.bat file in the same folder where Spoon.bat is present.

    I have attached my batch file. Saved as txt for the attachment

    Should i try removing some more jars? or rather
    Can i remove a few more jars?
    Attached Files Attached Files

  8. #8

    Default

    I am trying to launch Spoon Editor on Windows 2003 OS and observing the following error:

    Exception in thread "Main Thread" java.lang.UnsatisfiedLinkError: no swt-win32-3346 or swt-win32 in swt.library.path, jav
    a.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 org.eclipse.swt.widgets.Display.<clinit>(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:367)


    I have added the SWT related jar "libswt\win32\swt.jar" in the classpath.
    Any pointers to this would help.

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

    Default

    To my knowledge, there is nothing special you need to do to get Spoon to work on Windows 2003 Server.

    Just make sure you download a current version from Pentaho/SourceForge in stead of some hacked-up RAR version from who-knows-where. Unzip the file and run Kettle.exe.

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.