I installed 12.04. Yesterday I tried installing tomcat server and java. There was some errors in that installation and when I tried to open my system after some time I couldn't login. At that time I found its in loop. When I used terminal using ctrl+alt+f1. I can login there, and after login there shows one error which I incurred while installing java.
it shows like in 31 line.
Syntax error near unexpected token '('
and also in line
export JAVA_HOME=/media/F25ACC3E5ACBFCFB/Program Files (x86)/Java