This is a tricky issue for someone with is not used to work with a dos terminal in windows.
So for short if you have a path like C:\Program Files\Java\jre1.8.0_73 you have a space and from DOS terminal that space is a issue.
Next 3 examples will handle that space.
cd "C:\Program Files\Java\jre1.8.0_73"
cd C:\Program^ Files\Java\jre1.8.0_73
First on first line I added the path in “”, on the second line I did escaped the space but not with a \ like you are used in linux enviroments but with a ^