Top community members

Welcome to Dirask IT community! ❤ 💻
We are community that shares solutions with each other.

If you think you have something to add here.

you are welcome with your fresh ideas - List Articles

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

3 points
Asked by:
Nikki
1279

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
1279

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

Checkout latest Findings & News:

Checkout latest questions:

Checkout latest wiki articles:

Hey 👋
Would you like to know what we do?
  • Dirask is IT community, where we share coding knowledge and help each other to solve coding problems.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.
Read more