public class teste4{
public static void main (String args[]) throws java.io.IOException{
int i;
BufferedReader leitor = new BufferedReader(new InputStreamReader (System.in));
System.out.println("Digite um nome:");
String nome = leitor.readLine();
for (i=0; i<nome.length; i++){
int x=0;
x = nome.charAt(i);
System.out.println(x);
}
}
O problema aqui eh que o seu codigo esta procurando pelo atributo length, qundo na verdade o que vc quer eh o metodo length(). A diferenca eh sutil, mas existe