I’ve run into this problem twice in the last couple of days while downloading and installing new versions of Eclipse and trying out different packages for PHP editing (PDT and Aptana Studio). First time I googled around I couldn’t find a solution and so had to figure it out myself. Second time I thought that maybe I should make a note of my solution as other people might run into it as well.
The problem shows itself with the following error message:
Incompatible profile file name. Expected format is {timestamp}.profile but was ._1248736262197.profile.
This happens when trying to install a new plugin through the “Check for updates” or “Install New Software” dialog. The problem is because of the hidden ._* files which are created by OS X inside the Eclipse directory. The solution is pretty easy – open up a terminal and:
find . -iname '._*' -exec rm -rf {} \;
WARNING – running commands like this on your computer can cause problems. I have run exactly the command above on my machine with no problem but if you manage to break your computer following the above instructions then I take no responsibility! That said, as long as you correctly cd into the Eclipse directory and type/ copy the command correctly then nothing should go wrong!
Hope that helps someone else who runs into the problem!
21 Comments, Comment or Ping
Thanks that really helped out
August 14th, 2009
Hey....... I was really great. Thank you so much!
August 14th, 2009
Good job. This was bugging the crap out of me.
September 17th, 2009
Thank you very very much. This was driving me crazy, but your solution worked first time - and I did not break my computer.
November 23rd, 2009
Thanks, it worked for me.
December 31st, 2009
Thanks it worked perfectly :D
January 12th, 2010
Thank you much!
BTW, the same solution applies when you Eclipse finds ._.java files in the source tree and reports syntax errors in those. These files appear sometimes when downloading project source from the web.
(Of course, in the latter case the command is applied to the project folder, not the eclipse installation folder.)
January 15th, 2010
Thanks alot! Just ran into this problem at work, and this solved it right up for me.
January 27th, 2010
Thanx buddy, This is worked for me.
February 12th, 2010
Thanks! Worked like a charm.
March 2nd, 2010
many many thanks....worked a treat!!
May 18th, 2010
Thanks a lot for this solution!
It took quite a while on my system to clean those strange files up, but then again, there were lots of them! On the first try, I cancelled the script manually because I thought it was done deleting but somehow crashed. Turns out it was working fine! Just takes a little patience ;)
August 27th, 2010
Thanks so much!
October 23rd, 2010
Thanks a lot. An one liner rocked !!!
November 7th, 2010
I have been looking for a solution to this problem for a day now! It was bugging me A LOT! Many, many thanks!
December 30th, 2010
Thanks. This worked, perfectly, to resolve these profile issues that have been driving me crazy for hours!
April 5th, 2011
Took me a while to realize this wasn't a plugin-specific problem, but once I figured it out your solution worked like a charm! Thanks!!
June 8th, 2011
Wooh! Thank you so much!!! You just saved me a lot of frustration, I was about to give up and work on a windows machine instead. <3
July 2nd, 2011
my eclipse gives an error of profile in use. computation size error... :(
any solutions
August 8th, 2011
may i get a soln for the same prob for WINDOWS machine???
October 29th, 2011
Thank you!
December 24th, 2011
Reply to “Error installing plugins in Eclipse on OSX”