Installing Java-Runtime-Environment

Navigate to https://java.com/en/download/ and download Java

Navigate to https://java.com/en/download/ and download Java

Run the executable

Run the executable

Go through the install process

Go through the install process

Java-Runtime-Environment is now setup for both Minecraft and Optifine installation