|Re: Is there any forum where to consult error messages from Eclipse? [message #1072626 is a reply to message #1072563]
||Tue, 23 July 2013 06:57
| Ed Merks
Registered: July 2009
On 23/07/2013 5:31 AM, Carlos Pratt wrote:
> First, thank you for replying so quickly.
> Let me try to answer your two questions:
> Q1: Does the file build correctly?
> A1: I am sure is not, why? That is my question.
Without knowing your setup, it's hard to say. Perhaps you don't have an
appropriate JRE configured. Perhaps the file isn't in a source folder
that's compiled by JDT. Perhaps you don't have auto build enabled; it
should be enabled by default.
> Q2: The file is in a Java source folder of a Java project?
> A2: I believe it is in a Java Source folder. On the package explorer I
> can see the next path:
> Hello World -> src->default package->HelloWorld.java
> The error I am getting when trying to run is:
> "Could not find or load main class"
You could try using "Show In -> Navigator" on the project and then
looking in that view to see if there is a bin folder and whether there
is a HelloWorld.class in this bin folder? If the compiled file isn't
there, that's definitely a problem.
If you deliberately make a syntax error in the file, does it show red
problem markers in the editor?
If you save such errors, do these error markers appear in the Problems view?
> In my humble opinion it looks like I got a configuration problem, I
> just have not clue where to look and fix the problem.
> Once again thank you and any help will be greatly appreciated.
Powered by FUDForum
. Page generated in 0.04213 seconds