Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Build 3.2.5 OS X Kettle.app for 64 bit machine?

  1. #1

    Default Build 3.2.5 OS X Kettle.app for 64 bit machine?

    Hi All,

    I had no luck searching the bugbase or forums for this, so here goes. Anyone know how to build a 3.2.5 Kettle.app for 64 bit OS X? I've got 3.2.0 working from the official CE download, so surely it's possible. I've run 'ant macapplication', and it produces a Kettle.app file, however when run it generates:
    Code:
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: ERROR 12-08 18:03:28,363 - Spoon - Fatal error : java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: ERROR 12-08 18:03:28,364 - Spoon - java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: 	at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)
    Aug 12 18:03:28: --- last message repeated 1 time ---
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: 	at org.eclipse.swt.internal.C.<clinit>(Unknown Source)
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: 	at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: 	at org.eclipse.swt.widgets.Display.create(Unknown Source)
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: 	at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
    Aug 12 18:03:28 grouse [0x0-0x1d14d13].Kettle[36272]: 	at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
    I don't see an option to build for 64 bit however.

    Any guidance appreciated.
    Thanks,
    David

  2. #2
    Join Date
    Jul 2009
    Posts
    17

    Default

    I wonder why you want to do this...But anyway the error message explains that the SWT (ie. the gui) library is a 32 bit version. The 64 bit SWT library was only included from v4.0.0. I suppose you could try to compile it with a 64 bit version of SWT and edit the build.xml script, but I have no idea if this works.

    There are few JIRA cases open that relate to the 64 bit OS X version of SWT, so unless there is a really good reason for you to go down this path, I think you should avoid it if you can. I'm assuming you do know that you can run the 32 bit version on a 64 bit mac - In eclipse, you can force a 32bit JVM by specifying -d32 in the VM arguments in "Run configurations". And you can just use the ant zip method to create a zip file which contains a spoon.sh and will run on a 64 bit mac.

  3. #3

    Default

    With 3.2.0, I can launch from an icon in my dock. With 3.2.5 I have to launch from spoon.sh, which for some reason causes some strange application behavior, like failure to reopen files that were open when the app shutdown the last time (saw this in 3.2.0 launched from spoon.sh as well). Mere creature comforts I admit. Thanks for the tip about compiling in 32bit mode from Eclipse, I'll give that a shot.

  4. #4
    Join Date
    Jul 2009
    Posts
    17

    Default

    You may well be able to get ant macapplication to work, I just haven't done it myself ;-)
    I think you need to install a "jarbundler", the instructions are in the ant build.xml file I think.
    Tony

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.