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!!!

Written on June 16th, 2009 , Informative

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something is proudly powered by WordPress and the Theme Adventure by Eric Schwarz
Entries (RSS) and Comments (RSS).

SirSpanky.com – The Secret Diary of James Pearce Aged 20-Something

Personal jorunal of a professional geek – James Pearce in Perth, Australia