OptiFine not working: missing options, shaders or flicker
Check the exact Java Edition profile first. If Minecraft quits, save that installation's log. If it opens, use the matching checks for missing OptiFine controls, shaders, flicker or FPS.
Find the first useful check for a JAR that will not open, a launch crash, or missing controls in a running game.
Check the JAR and installed Java if the installer never opens. If Minecraft starts and closes, read that instance’s log before changing its files. If the game opens and some controls are missing, check which installation the launcher started.
Distinguish a broken file association from a Java error at startup.
Find the failing branch in the logs and isolate the file or mod that triggers it.
Check the game version, selected profile and the settings your build actually has.
Compare frame caps and graphics settings before replacing a working build.
Check the exact Java Edition profile first. If Minecraft quits, save that installation's log. If it opens, use the matching checks for missing OptiFine controls, shaders, flicker or FPS.
Save logs/debug.log from the Forge instance that crashed. Check the exact Minecraft, OptiFine and Forge builds before you repeat the failed step in a separate copy.
Run java -jar with the exact OptiFine filename from your download folder. If the installer opens, choose Install. A terminal error can point to the file, path or Java version.