Setting build path has encountered a problem [message #270711] |
Fri, 08 May 2009 04:56 |
Eclipse User |
|
|
|
Originally posted by: siegfried.heintze.com
I deleted my old java 1.5 SDK and now I'm getting lots of red lines.
So I do project->properties and change the JRE to the new 1.6 directory. So
far so good!
Now I get this error:
Setting build path' has encountered a problem
Could not write file:
C:\....\workspace\PanAndZoom\.classpath
This is odd because I can read it write it with emacs. Why am I getting this
error?
Thanks,
Siegfried
|
|
|
Re: Setting build path has encountered a problem [message #270744 is a reply to message #270711] |
Fri, 08 May 2009 16:52 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Siegfried Heintze wrote:
> I deleted my old java 1.5 SDK and now I'm getting lots of red lines.
>
> So I do project->properties and change the JRE to the new 1.6 directory. So
> far so good!
>
> Now I get this error:
>
> Setting build path' has encountered a problem
> Could not write file:
> C:\....\workspace\PanAndZoom\.classpath
>
> This is odd because I can read it write it with emacs. Why am I getting this
> error?
I don't know, but I would first try to Refresh on the project
(right-click on it and choose Refresh or F5). If the file on disk has
been changed by something outside of Eclipse, Eclipse's internal
representation of that file might need refreshing.
If all else fails, you could try deleting the .classpath; assuming you
don't have a complex build path it should be easy to re-create it in
Eclipse via the Properties > Java Build Path dialog.
Hope this helps,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.07921 seconds