If you really want to manually call the compiler, make sure to build in a proper output directory (not .), use it as with a -classpath argument, and compile the classes in the right order (TreeNode before FPTree).
Or use ant, maven, or an IDE.
0
solved One java file use another java file compile error