I'm not sure you can create a
libresource workspace from the command line.
The createWorkspace command line will link the workspace to a filesystem synchronizer.
But you can update and commit any existing workspace.
The other thing is, I'm not sure that you don't need a bigger classpath. (Check the JNLP file when you create a workspace from the web)