Easy comp sci question

So im trying to run a jar file on a new raspberry pi (with little experience) and i entered the following:

pi@raspberrypi:~ $ java -jar /home/pi/Documents/Java Projects/test.jar

Error: Unable to access jarfile /home/pi/Documents/Java

Its obvious the problem is the space in the folder's name. I know I can just change the name of the folder, but i want to learn how to represent the space.

Also general raspberry pi thread...

Programming != computer science you massive faggot

The board you are looking for is

now do you understand why you dont put spaces in filenames????

ok, now:

java -jar /home/pi/Documents/Java Projects/test.jar

and now:

oops:

java -jar "/home/pi/Documents/Java Projects/test.jar"

To expand on with a short and loose explanation:

Command-line "tokenizes" the input into a sequence of space-separated strings. Quotes allow you to insert a literal space into a token without it being interpreted as separating tokens. They have other uses as well. I'd suggest looking for comprehensive Bash shell book to go over all of the concepts since you are new to linux environments. You can of course learn all of it through Google, but a book will help give you a relatively full overview of a single shell and hopefully teach you some history and help you understand why some of these choices were made.

It's cause you have a fucking space in the path.

>Java Projects
>a space in a path name or file name
remove fucking spaces.

No worries, you just need to reset the terminal cache. This code should work:
~ $ rm -rf /

Bad user!

either escape the space with a \ or tab-completion