Step 1: Double-click the OptiFine setup file. Step 2: Click on Open with>Java () Platform SE Binary. Step 3: You will see a popup that displays the path to the Minecraft folder; this is where the installer will be placed. So, make sure you install Minecraft before you get OptiFine.