I have recently just created Java project using Eclipse that requires 2 JAR files (phiget21.jar and the mysql.jar)
Everything works fine when running the programme i
You need something like
java -classpath lib/foo.jar:. com.company.Program
you can also use wildcards since java 6. see here
so the above becomes
java -classpath lib/*:. com.company.Program