Whenever I try to run WebStorm, I get this warning and as soon as I load any of my project file/folder it just crashes and I am logged out of my system with all processes killed. I have spent 3-4 hours trying different versions of Java trying to make it run without a crash but it doesn't work.
Current Java status after executing these commands:
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer oracle-java7-set-default
And a few times I have seen an system generated error dialogue whose details contained the word Xorg.
I don't know what the issue is and it'd amazing if someone could help me troubleshoot and fix this!
Thanks in advance!