Eclipse: LD_LIBRARY_PATH, OpenJDK and libjpeg
问题 On my development machine (Linux) I have not set LD_LIBRARY_PATH at all, as the libraries I'm using are either in default directories or I've added them to ld.conf . But when I'm using Eclipse, my LD_LIBRARY_PATH is set to: "/usr/lib/jvm/java-6-openjdk/jre/lib/i386/client: /usr/lib/jvm/java-6-openjdk/jre/lib/i386: /usr/lib/xulrunner-1.9.2.17: /usr/lib/xulrunner-1.9.2.17" (added line breaks for readability). I don't mind xulrunner ones, but the OpenJDK causes my apps to load /usr/lib/jvm/java