Hello,
I would like to use an external library (e.g. google's guava) for my java program. I use eclipse IDE, so I downloaded guava's jar (and sourced) and followed http://www.vogella.de/articles/Eclipse/article.html#classpath_jar to add it to eclipse and to the builpath of my project. This works fine: I can run the program from eclipse and from the runnable jar I export from eclipse, but I get an error when I try to run directly from the bin/ dir, as I used to do before:
Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Joiner
What should I do?
thanks, Dave