Compilation's problems with eclipse
hello
in working for my thesis with eclipse I have see that the modify to source code have not effect in runt-time
In effect I have an file .class, I modify the source file .java, I compile and i go this in run with the Eclipse command <<run>> but the behavior not change.
I don't lie because i appnd a
system.out
to main of a class and in run-time the print is'nt.
What's appened?
I not remober about modify about Eclipse's configuration ?
What do you think?
thank for every feed-back
Alessandro Puzielli
[589 byte] By [
alepuzioa] at [2007-10-2 19:29:20]

You can do a clean and build, 'clean' removing old class files.
A compile error could prevent compiling a new class file. But let's assume everything is okay.
Maybe you are running the wrong main class, a copy at another place.
Look in the directory build/classes.
Remove the folder dist (should be done by clean).
Ehm...
I use Eclipse over Linux.. I have runned Eclipse as "root" a few of day ago and Eclipse's behaviort was ok. After I have lanched Eclipse as normal user and in effect I try to overwriter the *class of root and it's impossible!
I have take a few of day for the understand the problem with a
$ stat name_of_file_.class
Thanks for the responses!
> Ehm...
> I use Eclipse over Linux.. I have runned Eclipse as
> "root" a few of day ago and Eclipse's behaviort was
> ok. After I have lanched Eclipse as normal user and
> in effect I try to overwriter the *class of root and
> it's impossible!
it's normal 'cause you don't have the permissions on the project files
> I have take a few of day for the understand the
> problem with a
>
> > $ stat name_of_file_.class
>
>
> Thanks for the responses!
so if your project is a small project, start Eclipse as normal user and rewrite your project ! otherwise, log u as root and give you all the permission on the project and it may work (chmod 777 -R project_path)
peace
fred