

In this case, Windows will know how to run a JAR file using your installed Java.You have Java correctly installed on your computer.The "correct" way to install OptiFine, really, falls under three categories:


I've seen other players trying to help them with suggestions varying from the merely mildly unwise to the extremely inadvisable, such as talking about installing a JDK instead of a JRE (nonsense), saying "manually add java to your path" (never do that), even so far as trying to walk a less technically-literate player through the process of performing a manual baseedit install ( never do that!). Recently, I've seen several people having difficulty installing Optifine, because the Optifine installer is a Java program and these players didn't have Java installed.
