When I click the run button, nothing happens. Eclipse Kepler doesn't tell me that there are any errors in my code, but it does tell me that my program is running. There are no errors output, no log files appear, nothing.
Even the below doesn't work:
public class Main {
public Main() {
// TODO Auto-generated constructor stub
}
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("frog");
}
}
On latest stable release of arch linux, using a version of eclipse installed through the official repos.
EDIT I opened a new, fresh project and everything runs fine. It appears (surprise surprise) the problem is the rest of the code in the project file, not Eclipse. However, even after several restarts of my computer my real project won't run.
I suppose the only thing to do is remove the source files one by one and see if any of them are the problem.
If anyone else has this problem, I resolved it by doing the following:
Evidently, it was a problem with that particular working directory/project.
Without more informations, there might be some solutions:
try to compile and run it by hand and see, if it's an eclipse related bug
Maybe you have selected the wrong console in your view? Try to switch through them
Maybe an previous program did not terminate and you still see this console
Maybe you have a strange colorscheme and you textcolor is the same as background?^^
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With