The classpath is a sequence of entries which are directory pathnames, JAR or ZIP file pathnames, or JAR / ZIP wildcard specifications.

Sometimes it is necessary to embed a space in a classpath entry

export CLASSPATH="/home/user/My JAR Files/foo.jar:second.jar"

(The details may depend on the command shell that you use.)

Class-Path: /home/user/My%20JAR%20Files/foo.jar second.jar