I ran following code to run all tests, java junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.Analyzer
I generally use "ant" to run the tests, precisely because the Ant build.xml file takes care of all the complicated classpath setup for me. You can find some good documentation on this approach here: https://wiki.apache.org/db-derby/DerbyJUnitTesting#Running_tests_using_ant_in_a_code_line thanks, bryan