Running Java gives “Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'”

前端 未结 21 2394
别跟我提以往
别跟我提以往 2020-11-27 17:38

After years of working OK, I\'m suddenly getting this message when trying to start the JVM:

Error: could not open `C:\\Program Files\\Java\\jre6\\lib\\amd64\         


        
21条回答
  •  感情败类
    2020-11-27 18:34

    Had suddenly the same Problem, from one day to another eclipse said

    Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"`.
    

    after trying to run java on the console

    Error: could not open `C:\WINDOWS\jre\lib\amd64\jvm.cfg' 
    

    now i just deleted the whole directory

    C:\WINDOWS\jre
    

    and everything worked again... i don't know there this jre came from, i hope it was not a virus

提交回复
热议问题