Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Java Introducing the Project

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

vcs on intellij is not working

Cannot run program "Program Files (x86)\Git\bin\git.exe": CreateProcess error=2, The system cannot find the file specified

14 Answers

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

Hey Alexander it says clone failed could not read from the remote repository thats on intellij do you have any idea on that error?

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

Write command that you are writing or asking to from Intellijidea, or better tell me what exactly do you want to do and what exactly error is? May be screenshot also, because I have Linux, can't check on windows

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

i see yeah i have the screenshots but how can I send it to you alex?

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

I also wanted to add: could you tell me why are using SSH version of GitHub cloning? I haven't used that technology with GitHub, If you decided to use, you probably should've set up SSH key in your GitHub account, and also set up according preferences in Intellijidea...

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

Ive tried switching to SSH to native still not cloning same error on my screen shot 3 appears. reason why im doing ssh bec that's what craig dennis said on his video here https://teamtreehouse.com/library/introducing-the-project-3 at 03:20. he use ssh

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

I suggest you use https link: not like he does with SSH, just paste in the window Git Repository URL: https://github.com/Lestah/java-debugging-flashy.git

That should solve your problem. And write here back if it worked. After all it does not really matter how do you clone the repo.

It is hard to say why switching to native does not solve the problem for you. I think solution might be in setting up SSH for you account. Check instruction here if you want: https://help.github.com/articles/generating-an-ssh-key/

I've set it up awhile ago, may be that's why there is some kind of problem with that.

Again if you don't want to dig deeper try usual cloning - it should work, because it does not involve any SSH keys check.

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

hmm is this your path executable as well C:\Program Files\Git\cmd\git.exe or C:\Program Files\Git\bin\git.exe

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

Hey Ive tried to set up my SSH Key follow all instructions on the link you send to me. I now have an existing ssh key and im on this step now i dont know what to do check this link on step one its not working https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/ it says clip isnt working open text editor

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

Is that the step you stuck onto?

clip < ~/.ssh/id_rsa.pub

If that is the step, then probably all you need to do is to copy from data from ~/.ssh/id_rsa.pub to clipboard. So yes, use GitHub tip: " If clip isn't working, you can locate the hidden .ssh folder, open the file in your favorite text editor, and copy it to your clipboard."

And the proceed with instructions.

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

how to copy that data from -/ .ssh/id_rsa.pub to clipboard. that clip isnt working can you pls send me screenshot on how to do it pls thanks Alex :D

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

No. I cannot because you are using Windows... and I - Linux. I still don't know what do you use: cmd, Git bash on windows or what? How did you open that terminal? All you have to do is to find the file ~/.ssh/id_rsa.pub.

If you are using Git bash environment on Windows as they suggest on GitHub, then you will be able to run this (This should list your file, without errors):

ls -al ~/.ssh/id_rsa.pub

And if ls command is successful, type next command, that will print contents of your key to terminal, so that you can copy the key manually using mouse and keyboard:

cat ~/.ssh/id_rsa.pub

Tell me if that will work

Lester Rodrigo
PLUS
Lester Rodrigo
Courses Plus Student 9,549 Points

I tried running that command by the way I'm using git bash on windows the result of that is like this ssh-rsa AAAAB3NzaC1yc2EAAAADA. is that the one that i should paste on key field of step number 6 on this link? https://help.github.com/articles/adding-a-new-ssh-key-to-your-github-account/

Alexander Nikiforov
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 Points

Yep. looks like it. Check how ssh-rsa key looks like:

http://stackoverflow.com/questions/12749858/rsa-public-key-format

Try to paste that into your GitHub account like they say in instructions, and be careful about additional spaces, like they say: "When copying your key, don't add any newlines or whitespace."