fix settings command
update knowsjava command to read from json instead of hard coded