facebook

Getting Error starting modern compiler while ANT execution

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #299331 Reply

    Loyal Water
    Member

    revoman,
    I think the modern compiler is new with Java 6. What you need to do is edit your Ant runtime configuration, go to the JRE tab, and set the JRE to run your Ant script with to some Java 6 install you have on your local machine.

    Then you should be all set.

    This will likely “automatically work” in MyEclipse 7.5 and later for you because we changed the default JRE to run MyEclipse to 1.6.0_13

    #300570 Reply

    Rob Buck
    Member

    Thank you!! This is a big help to me … I’ve been searching blogs/forums for 2 days looking for this information (i.e., forcing ANT to use the JDK of my choice rather than the Eclipse JRE).

    #300598 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 3 posts - 16 through 18 (of 18 total)
Reply To: Getting Error starting modern compiler while ANT execution

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in