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 2 of 2

Thread: How to configure Eclipse to use a specific JRE?

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to configure Eclipse to use a specific JRE?

    I have both JDK 7 and JDK 6 installed on my computer. I want to set my project to use JDK 6 instead of 7, so my compiled program will be able to run on computers JRE 6.

    I know I need to go to Project > properties > Java Compiler > Compiler compliance level, and set it to 1.6.

    But I also need to set some things in Eclipse to use JRE 6. How exactly can I do that? Thanks


  2. #2
    Senior Member PhHein's Avatar
    Join Date
    Mar 2013
    Location
    Germany
    Posts
    646
    My Mood
    Sleepy
    Thanks
    10
    Thanked 95 Times in 88 Posts

    Default Re: How to configure Eclipse to use a specific JRE?

    Menu Window->Preferences-> Java-> Installed JREs

Similar Threads

  1. how to configure js request in web.xl
    By Murugadoss in forum What's Wrong With My Code?
    Replies: 0
    Last Post: September 26th, 2013, 01:47 PM
  2. Replies: 7
    Last Post: May 28th, 2013, 10:03 AM
  3. Replies: 3
    Last Post: May 16th, 2013, 10:17 AM
  4. 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
  5. TOMCAT CONFIGURE
    By jugalrockz in forum Java Servlet
    Replies: 1
    Last Post: January 5th, 2011, 07:09 PM

Tags for this Thread