I would like to install optifine. Unfortunately, this is not possible because I have the typical problem that a small black window opens and closes again immediately. I know that you can also open Java files via cmd and have the command "" C: \ Program Files (x86) \ Java \ jre1.8.0_65 \ bin \ java.exe "-jar% homepath% \ Desktop \ OptiFine_1. 8.8_HD_U_F5.jar>% homepath% \ Desktop \ log.txt "found. I then adapted the command to my Minecraft version and the current Java version so "" C: \ Program Files (x86) \ Java \ jre1.8.0_241 \ bin \ java.exe "-jar% homepath% \ Destop \ OptiFine_1. 8.9_HD_U_L5.jar>% homepath% \ Desktop \ log.txt ". This path can't be found, which makes sense because I don't have a Destop folder in% homepath%. What should I do?
ps: of course I also have the optifine file on the Destop
Do instead of% homeprofile%% userprofile%
You have to swap% homepath% with your path for your own
Or use the correct environment variable namely% userprofile%
That doesn't work either and I don't have a stop folder in% userprofile
% homepath% thought it was just a placeholder, but apparently both works
You apparently wrote instead of desktop destop,
% Homepath% \ Destop \ OptiFine_1.8.9_HD_U_L5.jar
Enter start% userprofile% \ Desktop in cmd
With shift + right mouse button you should find the option "open prompt here". Once you've done that, cmd will open with your desktop open as a path. Now you can simply enter "java OptiFine_1.8.9_HD_U_L5.jar". He should know the "java" command since the environment variable path was automatically expanded by "C: \ Program Files (x86) \ Java \ jre1.8.0_65 \ bin" when installing java. If he doesn't know java you should set the variable beforehand.