I am using CentOS 7 and I had Java 1.7 installed with
openjdk in my system but I wanted Java 8 so I removed Java 1.7 by the command:
yum remove java-1.*
Then I installed java normally by
tar.gz package everything works normally until I restarted the system. The problem is that whenever I enter the password in my login screen the screen comes back again to the same login screen its like a loop I type the password enter it then a blank screen shows for seconds and then login screen appears again.
I can't seem to figure out what to do where to start looking the problem.