facebook

[Troubleshoot] Using the -clean command line argument

  1. MyEclipse IDE
  2.  > 
  3. FAQ – Development
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #316508 Reply

    support-tony
    Keymaster

    Using the -clean command line argument when starting up MyEclipse can help with problems related to stale plugin cache information (usually shown in the log as problems loading bundles). The way it is used is as an argument to the MyEclipse executable; on Windows that is myeclipse.exe, on Linux or OS X it is myeclipse:

    myeclipse.exe -clean
    

    On OS X, the path to the executable is complex, so this may be an easier way to start MyEclipse from the command line (assuming it was installed into Applications):

    open /Applications/MyEclipse\ Professional/MyEclipse\ Professional.app --args -clean
    

    Alternatively, add the following line to the myeclipse.ini file, near the top (after the first line would be a good place):

    -clean
    

    Refer to the FAQ here for how to locate the ini file.

    This option tells eclipse/MyEclipse to erase and rebuild its plugin cache to avoid conflicts with incorrect plugin information. This is very important to use when upgrading between major releases or trying to fix a strange behavior in your workspace. After you have used -clean once, you are free to remove it from your command line arguments. Indeed, it’s recommended to remove it, since startup takes noticeably longer with -clean.

    An explanation of what the clean option does may be found here.

Viewing 1 post (of 1 total)
Reply To: [Troubleshoot] Using the -clean command line argument

You must be logged in to post in the forum log in