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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 4 of 4

Thread: JDK SE, JRE and Eclipse not working

  1. #1
    Junior Member
    Join Date
    Feb 2014
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JDK SE, JRE and Eclipse not working

    I installed JDK SE 7 on my Windows 8, in order to work with Eclipse, which I installed afterwards.

    However, due to some issues I was having, I un-installed both programs. Now, I re-installed both programs, but everytime I try to open Eclipse, I get the following message:

    Error: could not open `C:\Program Files (x86)\Java\jre6\lib\amd64\jvm.cfg'

    I open the Java folder and under I can't find the amd64 folder in the jre6 subfolder.

    Can anyone help me fix this problem?


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: JDK SE, JRE and Eclipse not working

    Some thoughts: Check the Build/Build Path setup in Eclipse. Something is expecting JRE 6 to be installed at the specified path, and it's likely not there anymore since you uninstalled and reinstalled things. Unfortunately, uninstalling sometimes leaves remnants in your environment variables or in the registry that are used for initial settings the next time you install that same program. Check the CLASSPATH environment variable. Maybe it needs to be updated to the new Java location. Did you reinstall just the JRE (standard Java) or the Java SDK as needed for Eclipse and development work?

  3. #3
    Junior Member
    Join Date
    Feb 2014
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: JDK SE, JRE and Eclipse not working

    Quote Originally Posted by GregBrannon View Post
    Some thoughts: Check the Build/Build Path setup in Eclipse. Something is expecting JRE 6 to be installed at the specified path, and it's likely not there anymore since you uninstalled and reinstalled things. Unfortunately, uninstalling sometimes leaves remnants in your environment variables or in the registry that are used for initial settings the next time you install that same program. Check the CLASSPATH environment variable. Maybe it needs to be updated to the new Java location. Did you reinstall just the JRE (standard Java) or the Java SDK as needed for Eclipse and development work?
    At first, I was re-installing the Java SDK, but then I had the idea of re-installing the version of Java on my computer, which was Java 7.

    Thank you for the assistance though.

  4. #4
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: JDK SE, JRE and Eclipse not working

    It's always nice to learn something from these annoying events that mostly waste our time, and I'm not sure what you learned from this so that it won't happen again. Perhaps installation order matters . . . don't know.

    Glad you figured it out.

Similar Threads

  1. How to configure Eclipse to use a specific JRE?
    By AvivC in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 26th, 2014, 08:02 AM
  2. No JRE or JDK in JVM
    By Jobrien15 in forum Computer Support
    Replies: 7
    Last Post: October 1st, 2013, 07:40 PM
  3. Using eclipse JRE 6.0 don't know what's wrong
    By ehren101 in forum What's Wrong With My Code?
    Replies: 5
    Last Post: January 20th, 2012, 06:12 AM
  4. JRE and JDK Questions
    By beer-in-box in forum Computer Support
    Replies: 11
    Last Post: September 16th, 2011, 05:37 PM
  5. Replies: 2
    Last Post: January 8th, 2010, 08:22 AM