Eclipse Constantly "Searching for Main Types" when trying to run Java applications! [message #1834697] |
Mon, 16 November 2020 10:48 |
Sam Holmes Messages: 6 Registered: November 2020 |
Junior Member |
|
|
Hi everyone,
I'm having a strange problem with Eclipse. I say that it's strange because it only happens on my work laptop, not on any of the work desktops. For context, I'm teaching Java as part of a college course, but at the moment we're doing online only delivery for obvious reasons. If I was doing on-campus delivery I'd have no problems with running Java applications on Eclipse on any of the computers on campus, but when I try to use my work laptop (which HAS been issued by the college and is on their domain) I get this problem, EVERY TIME.
The problem is that when I try to run a program I get a message that says "Searching for main types..." and Eclipse starts indexing the files in the JRE folder (in Program Files). It ALWAYS takes AGES to do this, and it does it EVERY TIME I run a new Java application (i.e. a new project I've just created, or one I have imported).
(You can see the error message in the attached image file).
Is there anything I can do to stop this happening? I've tried clearing out the Eclipse workspace and recreating it. I've tried opening a Java application first thing of the day and running it just so that the indexing will complete - but this doesn't work because as soon as I create a new project or import one I get the same problem.
I'm getting desperate because it usually happens during classes - which slows things down and confuses the students! Any suggestions would be welcome, especially as I've asked on other forums and haven't had any help.
-
Attachment: Eclipse.png
(Size: 122.58KB, Downloaded 2054 times)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05586 seconds