Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Eclipse fails to launch and debug code

  1. #1
    Join Date
    Mar 2005
    Beans
    9

    Eclipse fails to launch and debug code

    Hi,

    I have Eclipse 3.0.2 installed. However every time I want to launch a project (C++, Java, doesen't matter). I get an error like this:
    Code:
    Launch failed
    
    Reason:
    Failed to set program arguments, environment or working directory
    
    Unable to set working directory: mi_cmd_env_cd: Usage DIRECTORY
    Anyone can help me with this?

    Thanks.

    Stefan

  2. #2
    Join Date
    Jan 2006
    Beans
    1

    Re: Eclipse fails to launch and debug code

    Hi! I bet that by this time you don't need the answer, but anyway:

    Has your project name or maybe the path to the folder which contains it any spaces? I tell you that because that was the reason why I had the same problem that you address.

  3. #3
    Join Date
    Oct 2006
    Beans
    3

    Re: Eclipse fails to launch and debug code

    That worked for me too, thanks for the tip!
    -Robert

  4. #4
    Join Date
    May 2005
    Beans
    16

    Re: Eclipse fails to launch and debug code

    Hey, Gentoo user here, but thanks for the tip. Found it by Googling, and it fixed my problem as well.

  5. #5
    Join Date
    Mar 2007
    Location
    Minnesota
    Beans
    20

    Re: Eclipse fails to launch and debug code

    Gentoo user here as well. I also had this problem and hit this post. Saved me a big headache. I wouldn't have thought a space in the path would cause the problem.

  6. #6
    Join Date
    May 2007
    Beans
    10

    Re: Eclipse fails to launch and debug code

    That worked for me...three, thanks so much!

    Huy

  7. #7
    Join Date
    Mar 2008
    Beans
    10
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Eclipse fails to launch and debug code

    Hey great advice!! I am running Vista with a full cygwin install and removing spaces in my directory names fixed the problems!!!


    Thanks

  8. #8
    Join Date
    Jul 2009
    Beans
    3

    Re: Eclipse fails to launch and debug code

    Quote Originally Posted by jmpep View Post
    Hi! I bet that by this time you don't need the answer, but anyway:

    Has your project name or maybe the path to the folder which contains it any spaces? I tell you that because that was the reason why I had the same problem that you address.

    This answer has saved my life ! Thank you so much!

  9. #9
    Join Date
    Dec 2011
    Beans
    1

    Re: Eclipse fails to launch and debug code

    Quote Originally Posted by jmpep View Post
    Hi! I bet that by this time you don't need the answer, but anyway:

    Has your project name or maybe the path to the folder which contains it any spaces? I tell you that because that was the reason why I had the same problem that you address.
    Thanks a lot
    it worked for me too

  10. #10
    Join Date
    Jan 2012
    Beans
    2

    Re: Eclipse fails to launch and debug code

    Hi, looks like this is still a problem 6 and a half years after the original post I'd like to add...

    If there are no spaces in your path and you're still getting this problem then it could be because the directory has been symlinked and although the link has no spaces in the path, the target of the link does.

    Good luck!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •