Minecraft Java environment did not find error?

Un
- in Launchers
13

So the following.

I have a new laptop and bought Minecraft completely new and it worked. Only since today comes when I start in launcher go the error message java environment not found.

here once the complete error message

Error details: Illegal function

Filename: javaw.exe

Path: C: \ Program Files (x86) \ Minecraft \ runtime \ jre-x64 \ 1.8.0_51 \ bin \ javaw.exe

Exists: false

Have long searched for a solution and often minecraft and java reinstalled and hope to get a good answer.

We

Do you know anything about computers? (for the possible solution of me)

Un

I would say I'm not inexperienced but not a total professional. Let's try it

We

Good: you may have to reinstall the so-called JRE, but first try it differently. In the error message you have a path, yes?

We

You open the Explorer (not I-Net-Explorer!)

We

Right-click on "My Computer" then click on "Properties"

Un

Yes, I have the path

We

You press environment variables

We

Then at "User variables" you go to New

We

With name comes "PATH", with value the path, but (!): Only up to the Bin folder (thus… / bin is the last one) and confirm the whole time afterwards with OK

We

Restart the laptop

Un

Do you mean the system properties?

Un

Do you mean, for example? Chrome? Or which Explorer do you mean

Un

Did it and restart now