instead of `opt.mondrian-1.1.5.lib.mondrian.test.loader.MondrianFoodMartLoader', put `mondrian.test.loader.MondrianFoodMartLoader'.
This is a common error occurs when either JVM can not find the given class. You should refer to your classes as you set classpath (-cp is classpath here). When you set "/opt/mondrian-1.1.5/lib/mondrian.jar" as a jar file in your classpath, you should refer to its classes based on the top package of mondrian.jar (which is mondrian here). If it is not clear, try to unzip mondrian.jar (jar is a zip file in fact) and see the packaging style (package=folder=directory