Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg

  1. #1
    Junior Member
    Join Date
    Mar 2011
    Thanked 0 Times in 0 Posts

    Default could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg

    Hello frdz,

    I want to run the servlet program but suddenly the following errors start coming when i tried to compile my program...

    Microsoft Windows [Version 6.1.7600]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Program Files\Java>javac -help
    'javac' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Program Files\Java>java -version
    Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'

    C:\Program Files\Java>

    Thanks in advance..
    Need help

  2. #2
    Grand Poobah
    Join Date
    Mar 2011
    My Mood
    Thanked 167 Times in 158 Posts

    Default Re: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg

    You need to update your environment variables.

Similar Threads

  1. Replies: 1
    Last Post: March 22nd, 2011, 06:59 PM
  2. Reading CSV files into a program
    By Wrathgarr in forum Java Theory & Questions
    Replies: 2
    Last Post: April 15th, 2010, 10:41 AM
  3. Calling exe files from Java
    By linuxrockers in forum What's Wrong With My Code?
    Replies: 3
    Last Post: March 26th, 2010, 04:20 AM
  4. new jre6 conflicts with old jre (1.2.2)
    By codeshark in forum Java Theory & Questions
    Replies: 1
    Last Post: December 6th, 2009, 04:28 AM
  5. Swing incorrect behaviour from JRE5 to JRE6
    By singhkanhaiya in forum AWT / Java Swing
    Replies: 1
    Last Post: August 25th, 2009, 01:23 AM