I\'m trying to read a binary file but my program just stops at first line.. I think it\'s because of the strange characters the file has..I just want to extract some directions
Use hasNextLine() instead of hasNext() in the while loop check.
hasNext()
while (readF.hasNextLine()) { String line = readF.nextLine(); //Your code }