fixed bin5 java, started fixing bin3