Like the titel says: my Ubuntu gets stuck in a login loop.
Earlier this day I tried to add the environment variable for Java. I added to the file /etc/environment the path to my java distribution and everything worked out fine. An hour later when I tried to start the system, it got stuck in a login loop. I tried every proposition from this thread but non of them worked out.
When I read out /.xsession-errors it says that it can't find the file 90environment, so maybe that's part of the problem, but I have no idea how to solve it.
I'm new with Ubuntu, so if there are any propositions, please explain them in an easy language.