dude I tried and it worked but when I closed it and opened it today then again it was saying the same thing so I just reinstalled it and tried to open but this time it was saying the same thing after reinstalling it
Life sucks
1.
Make sure you fully uninstall the game and delete all game data (You can still backup worlds texurepacks shaders etc by moving them onto the desktop) I recommend using a program called 10bit uninstaller which is 100% free and very easy to use ive been using it for years
2.
Make sure all your drivers are up to date I suggest using a program called Driver Booster which again I have been using for a long time and is free. Also depending on your graphic card search x drivers for example I have an GTX graphics card so search GTX graphics card likely you will need to install geforce experience which will update the graphic drivers as somtimes driver booster doesn't find them
3.
Make sure you have java installed and its the latest version you can download it by searching java download on google or browser. then you can search for java control panel via conrtana/search box on the bottem of the screen click the update tab and then update now.