Just because you have all different versions installed doesn't mean that Java will use all of them. You have to specify within your system what Java you want to use (defined within your environmental variables when on Windows). There are many tutorials online about changing your Java version through modifying your environmental variables, just search up how and take your pick of choices.