You shouldn’t stop this type of jumping. You need to diagnose your dog's issue and remedy that. If your dog is just stressed being in a new situation, you should calmly get them off of you, offer them a treat to calm them down, and have them sit politely beside you until their stress level has subsided (or take them somewhere else so that they can calm down if it is taking a while for them to calm down.) But most of all, please do not just ignore this behavior change.
Unless given a command to jump, a dog should never be allowed to jump on humans. A dog that jumps on humans of its own free will is a dog that does not respect the person it is jumping on. Even those cute little toy dogs should not be allowed to jump on people. While you may think it is cute, it is not cute to everyone else. Not only is it annoying to most people to have someone else's dog jump on them, it can also be dangerous. A jumping dog can knock people over, muddy their clothes, put runners in nylons and scratch the skin.
If a dog is stressed or afraid, their demeanor and typical behaviors will change. If you see this in your dog (or really any dog you know) you should step back and check on your dog. Are they hurt? Did a new dog come around they don’t know? Has the weather changed? Is it hot outside? When was the last time they had a chance to go outside to pee or poop?
If you have ever seen two dogs when they meet, they greet each other face to face, unless there is a massive size disparity. So, why are we surprised when that is how a dog wants to greet us? You come home from work and let your dog out, and they are excited to see you and excited to show you how much they have missed you. So they jump up on you to get closer and give you some love.
I remember going to a dog park where a little 4-month-old Boxer puppy ran around jumping on everyone. The dog was not heavy enough to knock most of the adults down. However, it left everyone with muddy pants and the dog was big enough to knock over small children. The owner did nothing to stop the jumping puppy. After all, it was just a small pup. Everyone around her was pretty annoyed at the muddy prints the dog was leaving all over their clothes. That is an owner who will have a problem with her dog jumping on people when it gets older.
For those that don’t know, a coyote roller is a 4-foot aluminum roller that is designed to stop animals from scaling the top of a fence. The way that it works is when a coyote or other animal climbs to the top of a fence, the aluminum roller spins when they try and get their footing. When the roller spins they are unable to hold on and harmlessly fall to the ground.
Puppies should be told from day one, "no jumping." Anything you do not wish your cute little puppy to do when it is full-grown should not be allowed when it is a puppy. Think about the behaviors you allow your puppy to do; is it something you will always allow him to do even when he is full-grown? If the answer is no, do not allow your puppy to do it from day one.