local build cannot handle several classes in one java file