Salesforce.com Data Loader Page Azul, the industry’s only company exclusively focused on Java and the Java Virtual Machine (JVM), builds fully supported, standards-compliant runtimes that help enable Java-based businesses. Data Loader is designed to load data into an Oracle database. Oracle does not offer a way of loading data directly into the database from a text-based or excel-based file.
Data Loader For Mac
Even though the Apex Data Loader is written in Java it doesn’t work on a Mac for two main reasons:
- It is packaged in a Windows-only installer
- Instead of using Swing for its GUI that does not require any platform-specific code to be included in the application it uses SWT that does require platform-specific code
Data Loader Macro
The first problem can be worked around by installing on a Windows machine first and then copying the installation across to the Mac.
The second problem can be worked around using these steps (assuming you have a working copy of the Eclipse IDE on your Mac perhaps to make use of the Force IDE):
Data Loader Command Line For Mac
- Copy the files that start org.eclipse.swt (e.g. org.eclipse.swt_3.6.1.v3655c.jar and org.eclipse.swt.cocoa.macosx.x86_64_3.6.1.v3655c.jar) from eclipse/plugins to the directory that contains DataLoader.jar (that you copied across from Windows).
- Use this command-line (using the file names from the previous step) to run the DataLoader:
The -D argument specifies the location of the configuration files, the -X argument appears to be required for this version of SWT to work, the -cp argument gives priority to the Mac version of the SWT classes ahead of the Windows versions included in DataLoader.jar and the last argument is the name of the class that launches the GUI.
If you choose to run the data loader like this obviously Salesforce will not support you and you should be cautious and check your results carefully. Also consider using LexiLoader – see comments below.