there is no class like "out"instead use System.out.println. it worked in my case.precaution: ensure that the "s" is uppper case in System. Iused "system" and got an error which was not very apparent and spentaround 30 mins rectifying it.