When he gives up and stands still (staring at you like you’ve gone crazy), THAT’s when you greet your dog and give him some love and attention. This is the reward he was looking for. Following these rules will ensure he learns that he will only earn that reward by not jumping (don’t overdo the high-pitched voice saying, “GOOD BOYYYYY” or it will just rile your dog up even more to start jumping again).
Paying attention to a dog only when all four paws are on the floor can work well, if jumping isn’t well entrenched and if everybody who deals with the dog follows the rules. Unfortunately, much of humanity will get busy undermining you. “I don’t mind your puppy jumping up,” they say, while you tear your hair out. Or they get all disciplinarian, maybe kneeing the dog in the chest. That is not only mean but counterproductive, because dogs often respond by trying to appease. Since humans are usually taller than dogs, reaching our muzzles to lick them involves jumping up.