Hitachi Vantara Pentaho Community Forums
Results 1 to 8 of 8

Thread: Cannot start PDI 4.0 or 4.4 on win XP 32 bit machine

  1. #1
    Join Date
    May 2010
    Posts
    11

    Default Cannot start PDI 4.0 or 4.4 on win XP 32 bit machine

    Hi All,

    I've been using PDI/Kettle for about 5 years now intermittently, and it's still awesome! However, I'm struggling on my new machine to get PDI running . I've set the environment java_home variable to my java directory. I've tried with Java 1.6.04 and 1.7.045. I've also tried PDI 4.0 and 4.4

    The error message I'm getting when I try starting with the java command (instead of 'start javaw') is as follows:

    Code:
    C:\Documents and Settings\me\Desktop\pdi>spoon.bat
    DEBUG: Using JAVA_HOME
    DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jre1.6.0_04\bin
    DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jre1.6.0_04\bin\bin\javaw
     
    C:\Documents and Settings\me\Desktop\pdi>java "-Xmx512m" "-XX:MaxPermSize=256
    m" "-Djava.library.path=libswt\win32" "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-
    DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SI
    ZE_LIMIT=" -jar launcher\launcher.jar -lib ..\libswt\win32
    java.lang.UnsatisfiedLinkError: org.eclipse.swt.internal.C.PTR_sizeof()I
            at org.eclipse.swt.internal.C.PTR_sizeof(Native Method)
            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:540)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    Has anyone got any ideas on how I might solve this?

    I appreciate your help!!
    Rowan.

  2. #2
    Join Date
    Nov 2008
    Posts
    777

    Default

    Try removing the "\bin" from your JAVA_HOME environment variable.
    pdi-ce-4.4.0-stable
    Java 1.7 (64 bit)
    MySQL 5.6 (64 bit)
    Windows 7 (64 bit)

  3. #3
    Join Date
    May 2010
    Posts
    11

    Default

    Thanks for responding!

    I tried removing the /bin, and checked that it updated properly using echo %java_home% from the cmd prompt, unfortunately I'm still getting the same error. Are there any other possible ideas / troubleshooting steps?

    Thanks,
    Rowan.

  4. #4
    Join Date
    Jan 2014
    Posts
    1

    Default

    Hi All,
    I'm also getting the same error when executing the spoon.bat file in Command. Any input/resolution to Rowan's OP would be greatly appreciated!

  5. #5
    Join Date
    Nov 2008
    Posts
    777

    Default

    From the folder with Spoon.bat in it, is there a sub-folder libswt\win32 with the following files in it?

    Name:  win32.jpg
Views: 48
Size:  12.1 KB
    pdi-ce-4.4.0-stable
    Java 1.7 (64 bit)
    MySQL 5.6 (64 bit)
    Windows 7 (64 bit)

  6. #6
    Join Date
    May 2010
    Posts
    11

    Default

    Indeed, those files are in place, and I'm still no go :-(

    This PC is setup so that when you're in my computer, instead of saying 'my computer' at the top is has 'username at machine name' with the user & machine names. I'm wondering whether this is affecting one of the relative paths...

  7. #7
    Join Date
    Nov 2008
    Posts
    777

    Default

    You could try editing Spoon.bat and adding the -verbose option to the java command in order to troubleshoot further. You will probably want to redirect the output to a file because there will be a lot of info streaming at you.
    pdi-ce-4.4.0-stable
    Java 1.7 (64 bit)
    MySQL 5.6 (64 bit)
    Windows 7 (64 bit)

  8. #8
    Join Date
    May 2010
    Posts
    11

    Default

    Thanks for your help. I'm not sure why it helped, but I downloaded a new version of swt.jar from http://download.eclipse.org/eclipse/...306052000/#SWT placed it in the libswt/win32 directory, and it all goes now.

    Thanks everyone for their help,
    Rowan

Tags for this Thread

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.