Java doesn't work after installing. I downloaded java 8 from the oracle website, installed it on windows 10 and here i have such an error, can anyone help?
Error: could not open 'C: \ Java \ jre8 \ lib \ amd64 \ jvm.cfg'
Probably the path is wrongly set. Try the following steps:
Open the environment variables in cmd. Use the command:
rundll32 sysdm.cpl, EditEnvironmentVariables
- Enter a new path to the "bin" folder in jdk
For me it is: C:\Program Files\Java\jdk1.8.0_261\bin
3. Restart cmd and enter:
4. If everything has been done right, you will get a similar result.