|
Re: Problem with running Java code [message #1803942 is a reply to message #1803911] |
Thu, 14 March 2019 03:24 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
Keep in mind that when you Run something, a Launch Configuration is created. You can look at those with Run -> Run Configurations..., so if you were able to run before, such a configuration will exist and you should be able to explicitly run it. In general JDT tries to be smart to choose an existing configuration depending on what's selected in the workbench, e.g., the active editor selection. Without seeing the state of your IDE, no one can tell you why JDT doesn't find a launch configuration for this, but if the active editor is a Java class that doesn't have a main method, you'd get the type of failure you describe...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.05279 seconds