every time i DL the optifine file it opens with winRAR extracting the files does nothing and i cant open with the java as many other suggest as it is simply not even an option on the open with how can i fix this issue?
I assume you're on windows.
If anything else don't work, locate your java.exe (it may be installed as a Windows application or embedded into the Minecraft installation, you may even search for it using the search function).
When you have the complete path, you can run cmd in the folder where you have downloaded the optifine jar and run:
C:> X:\path\to\java.exe -jar OptiFine_1.14.4_HD_U_F4.jar
This assumes you are installing the latest stable version of Optifine, if it's not the case use the correct Optfine jar file name.