Compiling Java code in terminal having a Jar in CLASSPATH
- by Masi
How can you compile the code using javac in a terminal by using google-collections in CLASSPATH?
Example of code trying to compile using javac in a terminal (works in Eclipse)
import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap;
public class Locate {
...
BiMap<MyFile, Integer> rankingToResult =…