Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Runtime error on non-Windows O/S

Help
Dan Coutu
2006-10-30
2013-04-11
  • Dan Coutu
    Dan Coutu
    2006-10-30

    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

    run_dataloader:
         [java] 2006-10-30 12:22:12,274 INFO  [main] controller.LoaderController initConfig (LoaderController.java:291) - 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(ClassLoader.java:953)
         [java]     at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:922)
         [java]     at java.lang.System.loadLibrary(System.java:451)
         [java]     at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
         [java]     at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
         [java]     at java.lang.J9VMInternals.initializeImpl(Native Method)
         [java]     at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
         [java]     at org.eclipse.swt.graphics.Device.init(Device.java:564)
         [java]     at org.eclipse.swt.widgets.Display.init(Display.java:1780)
         [java]     at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
         [java]     at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
         [java]     at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
         [java]     at org.eclipse.swt.widgets.Display.getDefault(Display.java:993)
         [java]     at com.sforce.dataloader.ui.LoaderWindow.<init>(LoaderWindow.java:66)
         [java]     at com.sforce.dataloader.controller.LoaderController.createAndShowGUI(LoaderController.java:159)
         [java]     at SforceDataLoaderRunner.main(SforceDataLoaderRunner.java:43)

    BUILD FAILED
    /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!