dataloader: SWT runtime error on Linux - "Unable to find SWT jar for Linux : amd64"
Excited to see work on a Linux build! Been trying to get it working, but no success yet.
Linux Mint 20 OpenJDK Runtime Environment Zulu11.52+13-CA (build 11.0.13+8-LTS) SWT 4.21
Followed readme build steps (success), extracted contents of dataloader_linux.zip, and ran script:
./dataloader.sh
Unable to find SWT jar for Linux : amd64
Tried directly and with classpath, same error:
java -jar dataloader-53.0.1-uber.jar
Unable to find SWT jar for Linux : amd64
java -cp "swtlinux_x86_64/*" -jar dataloader-53.0.1-uber.jar
Unable to find SWT jar for Linux : amd64
Updated SWT to 4.22 using the python script and re-built. New swt files but same error.
Had a java dev take a look, his comments were:
- The uber jar has no dependency jars in it
- Using Maven to control the classpath gives the same error
mvn clean compile -Plinux_x86_64 exec:java -Dexec.mainClass="com.salesforce.dataloader.process.DataLoaderRunner"
HTH
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 41 (19 by maintainers)
Commits related to this issue
- Merge pull request #371 from ashitsalesforce/master fix for issue #370 and enable the fix for issue #280 by default by ha… — committed to forcedotcom/dataloader by ashitsalesforce 3 years ago
- Merge pull request #375 from ashitsalesforce/master minor tweak to the fix for #370 — committed to forcedotcom/dataloader by ashitsalesforce 3 years ago
Unable to find SWT jar for Windows Server 2019 : x86_64
Hi @ashitsalesforce, Thank you. It worked fine after adding the log-confg.xml file from the repo.
thanks
Hi @ashitsalesforce. Yes, it is working now! 🎉 Thank you for the quick update.