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

Thread: eclipse question

  1. #1
    Junior Member darego's Avatar
    Join Date
    Dec 2010
    Location
    Ireland
    Posts
    17
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default eclipse question

    hey guys. i have just went back to college recently and started studying some java again. i tried to run some of my code from last year in college but something i never seen before came up; "select what to run: ant build, ant build..". i tired clicking both ant builds both nothing came up in the console.. can someone explain to me why my code isn't running and what this ant build option is about?

    normally when i pressed Run my code ran straight away in console now thing ant build stuff comes up and it won't run

    thanks!
    Last edited by darego; October 17th, 2011 at 01:40 PM.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,307
    Thanks
    181
    Thanked 824 Times in 767 Posts
    Blog Entries
    5

    Default Re: eclipse question

    If you don't know what ant is, see the following link:
    Apache Ant
    Its an extremely handy utility for complex build projects (things that require singing, lots of dependent libraries, file copying, jar packaging, etc...). For simple projects, it shouldn't be necessary, and it seems that your Eclipse configuration is set to run things as ant. I can't give specific advice, but I'd say make sure your main class is selected when you try to run, and/or go to Run->Run As or Run Configurations to try and see if there is a setting there.

  3. The Following User Says Thank You to copeg For This Useful Post:

    darego (October 18th, 2011)

  4. #3
    Junior Member darego's Avatar
    Join Date
    Dec 2010
    Location
    Ireland
    Posts
    17
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Re: eclipse question

    thanks mate

Similar Threads

  1. Replies: 24
    Last Post: August 4th, 2014, 12:49 PM
  2. Replies: 5
    Last Post: September 12th, 2011, 08:24 AM
  3. Beginners Eclipse Tutorial. How to run first java application on Eclipse?
    By JavaPF in forum Java Code Snippets and Tutorials
    Replies: 13
    Last Post: June 24th, 2011, 12:26 AM
  4. More getResource and Eclipse question
    By cl2606 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: June 8th, 2011, 06:39 PM