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: Nagging Run Result on Console!

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Location
    Kolkata, India
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Nagging Run Result on Console!

    I am learning Java programming through video tutorials. Started practising programming Java a few days ago. I am using eclipse. Today discovered a nagging problem; till now, I have practised with nearly 10 programmes and saved them at my workspace. Today when I tried to compile and run a program, instead of displaying the result of the latest programme, it kept on engaging the console with a past run and even after I deleted that very programme, the result kept appearing no matter how many times I tried to run the latest programme. Kindly suggest a way out in detail. 


  2. #2
    Junior Member
    Join Date
    Jul 2014
    Location
    Canada
    Posts
    25
    My Mood
    Bored
    Thanks
    0
    Thanked 5 Times in 4 Posts

    Default Re: Nagging Run Result on Console!

    Either set up run configurations for your programs, or right click the file in the Project Explorer view and select Run As > Java Application. You can also use the Run button drop-down menu to select Run As when the file you want to run is selected in the main view.

    This is probably the wrong forum for this question, it should be moved to Java IDEs.

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

    Ada Lovelace (July 10th, 2014)

  4. #3
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Nagging Run Result on Console!

    Moved to IDE section.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #4
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: Nagging Run Result on Console!

    Another good idea is to close any tabs with other applications in.
    I also found that creating a package for every type of application
    stopped this slight bug in the software. Reason being Eclipse get's
    confused when there are lots of tabs open in the workspace and
    be wary as sometimes when you go to debug your most recent
    application, it can compile/debug the one it keeps displaying.

    But in general what Duncan said is also very valid.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

Similar Threads

  1. [SOLVED] Java 1.4.2 and eclipse code will not compile or run need it to run for school!
    By ClarmonkGaming in forum What's Wrong With My Code?
    Replies: 12
    Last Post: January 23rd, 2014, 09:41 PM
  2. Replies: 2
    Last Post: November 18th, 2012, 02:09 PM
  3. How do i run this Accounting console app?
    By mirzahat in forum AWT / Java Swing
    Replies: 2
    Last Post: November 16th, 2010, 12:22 AM
  4. Console Application - How to run it?
    By mirzahat in forum AWT / Java Swing
    Replies: 3
    Last Post: November 16th, 2010, 12:21 AM