Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Setting build path has encountered a problem
Setting build path has encountered a problem [message #270711] Fri, 08 May 2009 04:56 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Setting build path has encountered a problem [message #533035 is a reply to message #270711] Wed, 12 May 2010 01:49 Go to previous message
Eclipse User 2 is currently offline Eclipse User 2Friend
Messages: 1
Registered: May 2010
Junior Member
I know this is an old post but maybe it wil help future users wuith the same problem...
in my case i was using ClearCase and had not checked out the .classpath file yet, which is why eclipse was not able to modify it.
see if who as write privileges to the file, maybe you are logged in with two different users one for eclipse and one when using emacs.
Previous Topic:How to Bind Jtable with MySql
Next Topic:Windows 7 Tree Icons Fade in Navigator
Goto Forum:
  


Current Time: Wed Apr 24 17:42:10 GMT 2024

Powered by FUDForum. Page generated in 0.07921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top