I have two classes in separate files, but in the same package and the same directory. If I try to build the file that has the main method in Sublime, I get this:
F:\cygwin64\home\Patrick\git\algorithms\misc\binarytree\BinaryTreeClient.java:11: error: cannot find symbol
public static BinaryTree build123 () {
^
symbol: class BinaryTree
location: class BinaryTreeClient
BinaryTreeClient is the file I’m trying to compile and BinaryTree is the other file in the same package/directory.
I have set the CLASSPATH, and I can compile without any problems from the command line, just not within Sublime.