FreeBSD 7.2 & Eclipse Installation Problems

I compiled Eclipse from ports in PCBSD, which is the FreeBSD ports. I have updated them, so they are current. Upon running Eclipse, it bails and dumps the log file:

java.lang.UnsatisfiedLinkError: no swt-gtk or swt-gtk in swt.library.path

Along with a bunch of other referencing errors as to why the file is needed. The solution? Remove Eclipse:

pkg_delete eclipse-3.4.2

Then reinstall it as the package:

pkg_add -r eclipse

Why didn’t I do this originally? I did, it failed to install for some reason or other. Incidentally, when I installed it from the package system, it installed 3.4.1. Not that it really matters, it runs, and that’s what matters! *And* because it build the dependencies from source (I only removed the Eclipse program), I have an optimized version of the JDK woo!!!

Leave a Reply