Question Minecraft Optifine doesn't work ?

Dec 24, 2021
I tried to instal optifine onto my minecraft and when it didnt work i tried the new 8u311 java then went to my laptop where optifine works and tried the version of java it was running. Updated all my drivers, re-updated java, reinstalled mc, copied the entire game onto a usb and reinstalled it from the usb onto my new pc and i still can't find the issue.
Everything else on my pc works fine so it must be a software issue right?

if u need any more information lemme know ill respond as soon as i can.