Why can't I choose Java?

ea
- in Mods
13

If I want to download Optifine for Minecraft, this is a file opened with WindowsMediaPlayer. If I want to open it with Java, nothing happens and the file type does not change. Even if I want to play with mods, I can't start them. Since then comes a mistake, I have you reinzopiert times. If you know how to fix it, please tell me idiot-proof.

Here is the error:

"The configured Java runtime path" C: \ Program Files \ Java \ jre1.8.0_171 \ bin "does not exist.

"To report this error, please report:

java.io.IOException: The configured Java runtime path 'C: \ Program Files \ Java \ jre1.8.0_171 \ bin' does not exist.

at com.skcraft.launcher.launch.JavaProcessBuilder.tryJvmPath (JavaProcessBuilder.java:43)

at com.skcraft.launcher.launch.Runner.addJvmArgs (Runner.java:254)

at com.skcraft.launcher.launch.Runner.call (Runner.java:135)

at com.skcraft.launcher.launch.Runner.call (Runner.java:45)

at java.util.concurrent.FutureTask.run (Unknown Source)

at java.util.concurrent.ThreadPoolExecutor.runWorker (Unknown Source)

at java.util.concurrent.ThreadPoolExecutor $ Worker.run (Unknown Source)

at java.lang.Thread.run (Unknown Source) "

Ch

Update Java, maybe not

ea

That's the latest version.

To

Which extension does the file have?

Co

The following article describes how you can customize the Java PATH:

https://www.java.com/...p/path.xml

This seems to be flawed in your system.

You can determine the content of the path variable with the following command:

echo% path%

You should customize or delete all Java related stuff and reinstall Java.

ea

.jar

ea

At step 3, I get a little confused.

Co

The following Bidlers may help you

ea

I thought the system variables… And continue? What has to go in there?

Co

Your path to Java installations directory and then bin in the bin

ea

Which bin folder?

Co

For me, the path looks like this:

C: \ Program Files \ Java \ jre1.8.0_191 \ bin

ea

That does not work anyway. I have tried everything now. I do not know how to continue…

Co

Uninstall Java
Remove the PATH variables for java
Reboot your PC
Install Java, https://javadl.oracle.com/webapps/download/AutoDL?BundleId=235727_2787e4a523244c269598db4e85c51e0c