Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error
icon9.gif  Error [message #1722563] Fri, 05 February 2016 18:37 Go to next message
Suyash Shinde is currently offline Suyash ShindeFriend
Messages: 1
Registered: February 2016
Junior Member
my console is giving me this message <terminated> A(1)[ Java Application] and showing me output of previous class file.
so i try to execute it by selecting Run As Configuration and i found that project name and main class name is of previous class file not of current class file so, i have to select the Current project name and Main class file Everytime to Run the Program. why is that? how can i fix this?
Re: Error [message #1722585 is a reply to message #1722563] Sat, 06 February 2016 08:19 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
If you hit the run button, it generally runs the most recently launch
configuration. I think it's sometimes a little too smart and considers
you selection in the IDE and will run the main method of the selected
class. In any case, the run button has a drop-down beside it and you
can choose easily any specific launch configuration.


On 05.02.2016 23:24, Suyash Shinde wrote:
> my console is giving me this message <terminated> A(1)[ Java
> Application] and showing me output of previous class file.
> so i try to execute it by selecting Run As Configuration and i found
> that project name and main class name is of previous class file not of
> current class file so, i have to select the Current project name and
> Main class file Everytime to Run the Program. why is that? how can i
> fix this?


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Indirectly referenced from required .class files
Next Topic:Best way to collaborate in real-time with Eclipse?
Goto Forum:
  


Current Time: Thu Apr 18 09:27:28 GMT 2024

Powered by FUDForum. Page generated in 0.03486 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top