I dont recommend using `java -jar ...` to run ZAP. We provide the `zap.sh` and `zap.bat` scripts so you should always use those when starting ZAP from the command line.
Its difficult to tell if you are doing anything else wrong as you havnt given us any details of how it breaks.
What does / doesnt happen? Are there any errors shown in any of the zap.log files?
FYI just one ZAP instance can put a significant strain on a machine.
If you are trying to run 5 or more at the same time then it could well be too much for your machine.
Cheers,
Simon