You should use full path to .jsb2 in your command line.

For example:

java -jar bin/JSBuilder2.jar --projectFile D:\Project\project.jsb2 --homeDir ../..