add collection java and javac commands