Results 1 to 5 of 5
  1. #1
    defilier is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

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

    Hi today I started to experience a java error. I trying to use a java bat file for a minecraft server and recieving an error straight away "Error: could not open `C:\WINDOWS\jre\lib\amd64\jvm.cfg' "
    I downloaded a fresh new server and tried that and the same problem so it isn't my server. So I decided to look into Java itself, I uninstalled JDK and JRE and cleaned my registry free of them. Then went a head and reinstalled them. Exact problem, I tried to restarting, same problem. I tried going to the folder of this jvm.cfg and the folder amd64 doesn't even exist in the lib folder. I just can't figure out what it going wrong.
    When I go into CMD and type Java I get the same error, when I type java -version, I get the same error. Minecraft itself works like a charm, and java still works on my browser. I really just can't figure it out.

    If anyone has help or knowledge on Java or this problem itself please please help me. I'm in dire need here haha. Thanks guys!

    Running windows 8.1 x64
    16gb Ram

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,562
    Rep Power
    25

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

    That's interesting that the java installation on Win8 puts files into or looks in the Windows folder.
    Is that the default or did you direct it there?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    defilier is offline Member
    Join Date
    Mar 2014
    Posts
    2
    Rep Power
    0

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

    I'm not sure, I haven't modified the path or anything. I've only installed Java jre-7u51-windows-x64 and jdk-8-windows-x64 to the path of "C:\Program Files\Java"

  4. #4
    Fuffu is offline Member
    Join Date
    Mar 2014
    Posts
    1
    Rep Power
    0

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

    I had the same problem..

    I deleted the folder named jre in the windows folder.. It seems to work for me..

  5. #5
    Kuroth is offline Member
    Join Date
    Apr 2014
    Posts
    1
    Rep Power
    0

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

    Quote Originally Posted by Fuffu View Post
    I had the same problem..

    I deleted the folder named jre in the windows folder.. It seems to work for me..
    Hi there, registered just so I could make this comment. I've been searching for an answer to this issue for over an hour, and deleting the "c:\windows\jre" directory also worked in my situation. Thank you for the help!

    defilier, if you haven't yet, I would try that.

Similar Threads

  1. Replies: 3
    Last Post: 03-28-2011, 04:57 PM
  2. getting file url using windows open with
    By Mertuhh in forum Advanced Java
    Replies: 3
    Last Post: 03-09-2011, 05:00 PM
  3. Monitoring open windows with java
    By Srt252 in forum New To Java
    Replies: 3
    Last Post: 06-18-2008, 06:45 AM
  4. AMD64 Java requires linux?
    By thaumielx72 in forum New To Java
    Replies: 3
    Last Post: 01-14-2008, 01:27 PM
  5. Check if Windows application is already open
    By mpiaser in forum Advanced Java
    Replies: 1
    Last Post: 12-07-2007, 09:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •