I am using eclipse and i get this error:
Exception in thread \"main\" java.lang.Error: Unresolved compilation problem: at Wall.main(Wall.java:6)
Just create a new file and copy/paste the code there after removing the first unused import. I suspect that there may be some special characters causing that compilation error.