I have recently started to learn java programming and for that I need JDK installed (I uninstalled all previous java) however when its installed I can't open minecraft with exception of launcher which does open I also discovered when I chose profile that doesn't load mods game does open which leads to believe thats where the problem lies the mods I use and they are Forge + Optifine did anyone else had this kind of problem before or at least an idea?
JDK conflict with minecraft