Jar. File won't open?

si
11

I wanted to download Forge for Minecraft to install Optifine and Shader. In another question I was told to open the file with Java. However, when I try to open it and install Forge, nothing happens.

Ch

When you download the file, just double click on it.

si

I do, but nothing happens.

al

Do you have the Jarfix program?

si

No I have not

al

You need that otherwise it won't work

al

You need that otherwise it won't work

si

I read in another question that you should run it via Javaws.exe. When I do that it says application can't be started.

Ha

Look where java is stored (there should be a file called java somewhere). Copy the path. Now right-click on the .Jar you want to open, → "open with" → "browse" → insert the path and select the "Java" file. Now it should be opened via java.

PS. I have "Java" in here: C: \ Program Files \ Java \ jre1.8.0_221 \ bin

si

I've managed it anyway, thanks

Ha

Oh ok

si

Thank you, that worked