Yep, I think you’ve correctly surmised the meaning of the “no justice, no peace” chant.

One of my pet peeves for years has been the bumper sticker that reads “If you want peace, work for justice.” As I’ve said before, to me that sounds like saying “If you want a salad, order a cheeseburger.” The two things can sometimes go together, but not necessarily.