I have followed the steps [here] (Android Studio is slow (how to speed up)?) in order to try and make my android studio faster. after doing so android studio won't even launch .
I have tried the command ./studio.sh from the terminal but I am getting this
error: Error: Could not find or load main class Dsun.java2d.d3d=false