fixed javac location
added javac stuff in cmake