detect javac, probably also detect for java