Runtime error on non-Windows O/S

Dan Coutu
  • Dan Coutu
    Dan Coutu

    I'm trying to run the data loader on a Linux system but given the error message I see I'm betting this will fail on any operating system that isn't MS Windows. Here's the error output:

    $ ant run_dataloader
    Buildfile: build.xml

         [java] 2006-10-30 12:22:12,274 INFO  [main] controller.LoaderController initConfig ( - The log has been initialized
         [java] Exception in thread "main" java.lang.UnsatisfiedLinkError: swt-win32-3063 (Not found in java.library.path)
         [java]     at java.lang.ClassLoader.loadLibraryWithPath(
         [java]     at java.lang.ClassLoader.loadLibraryWithClassLoader(
         [java]     at java.lang.System.loadLibrary(
         [java]     at org.eclipse.swt.internal.Library.loadLibrary(
         [java]     at org.eclipse.swt.internal.win32.OS.<clinit>(
         [java]     at java.lang.J9VMInternals.initializeImpl(Native Method)
         [java]     at java.lang.J9VMInternals.initialize(
         [java]     at
         [java]     at org.eclipse.swt.widgets.Display.init(
         [java]     at<init>(
         [java]     at org.eclipse.swt.widgets.Display.<init>(
         [java]     at org.eclipse.swt.widgets.Display.<init>(
         [java]     at org.eclipse.swt.widgets.Display.getDefault(
         [java]     at com.sforce.dataloader.ui.LoaderWindow.<init>(
         [java]     at com.sforce.dataloader.controller.LoaderController.createAndShowGUI(
         [java]     at SforceDataLoaderRunner.main(

    /root/sfdl7/build/build.xml:129: Java returned: 1

    Total time: 1 second

    Note in particular where it is looking for the library swt-win32-3063. This is a dll file in the distribution which obviously won't run anywhere other than on MS Windows.

    Any ideas on how to resolve this showstopper problem would be very welcome!