Languages

Error: could not open 'C:\Java\jre8\lib\amd64\jvm.cfg'

3 points
Asked by:
Nikki
1734

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'

1 answers
3 points
Answered by:
Nikki
1734

Probably the path is wrongly set. Try the following steps:

Open the environment variables in cmd. Use the command:

rundll32 sysdm.cpl, EditEnvironmentVariables

Next click:

  • Edit
  • New
  • 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:

java -version

      4. If everything has been done right, you will get a similar result.

0 comments Add comment
Native Advertising
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join