Eclipse not compiling my code & not letting me create run configurations [message #182804] |
Mon, 04 December 2006 12:33 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: Mui_wilson.hotmail.com
I must have done something in eclipse to make this happen. But this is
how it all started. I created a class, then I decided I didn't need it
anymore, and closed the file. Then I decided I wanted to make that class
again (instead of having an inner class). But Eclipse kept on saying that
that class already existed and I could not create another one. So I
deleted the .java and the .class file. But still eclipse thinks that
class exists. So what do I do if I want to recreate that class from
scratch, I've already deleted both the .java and the .class file.
So then I clicked project->clean, and now Eclipse doesn't want to
build/compile my code, it'll save the .java files whenever they change,
but it doesn't compile it. How do I fix that?
Even worst, I must have done this somehow, not I don't see any "run
configuration," which I have no idea how that happened, so I decided to
try to recreate some, but even though no run configurations are apparent,
whenever I try to create one with the same name as my old ones it says I
can't because that configuration still exists. Please help me somebody,
I'm digging a bigger and bigger whole.
|
|
|
Re: Eclipse not compiling my code & not letting me create run configurations [message #182861 is a reply to message #182804] |
Mon, 04 December 2006 17:53 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: irbull.cs.uvic.ca
Check window->preferences
then general -> workspace and see if Build Automatically is selected.
As for the class file problem, I haven't heard of this before. It
should be gone if you deleted it. Check outside eclipse (using your
file explorer or command prompt) to see if the class file is really gone.
One great thing about eclipse is how easy it is to install. If things
are really messed up just backup your workspace and reinstall (unzip
eclipse) into a new location. Re-important your projects. Unless you
have a bunch of other plug-ins to get, you should be ready to go in just
a few minutes.
Cheers,
Ian
Wilson Mui wrote:
> I must have done something in eclipse to make this happen. But this is
> how it all started. I created a class, then I decided I didn't need it
> anymore, and closed the file. Then I decided I wanted to make that
> class again (instead of having an inner class). But Eclipse kept on
> saying that that class already existed and I could not create another
> one. So I deleted the .java and the .class file. But still eclipse
> thinks that class exists. So what do I do if I want to recreate that
> class from scratch, I've already deleted both the .java and the .class
> file.
>
> So then I clicked project->clean, and now Eclipse doesn't want to
> build/compile my code, it'll save the .java files whenever they change,
> but it doesn't compile it. How do I fix that?
>
> Even worst, I must have done this somehow, not I don't see any "run
> configuration," which I have no idea how that happened, so I decided to
> try to recreate some, but even though no run configurations are
> apparent, whenever I try to create one with the same name as my old ones
> it says I can't because that configuration still exists. Please help me
> somebody, I'm digging a bigger and bigger whole.
>
|
|
|
Powered by
FUDForum. Page generated in 0.08067 seconds