To a dog, space and balance are very important. If you take a step backwards or lean out of a jumping dog’s way, it will continue to jump. To a dog, it is overtaking your space, which only pack leaders are allowed to do. When a dog jumps, step into the dog. Picture a sphere around you and are not going to allow anyone or anything to come into your space. When the dog jumps, step into it sideways with your body, shoulder towards the dog. Don't face the dog head-on (you may not have time to turn so don’t worry about it if this is the case). You are not trying to knock the dog down, although this may happen. Don’t be alarmed if you do knock the dog over. Although you don’t want to abuse the dog by knocking it around, this may actually go a long way toward breaking it of the jumping habit as it will create a negative experience. Dogs are incredibly physical creatures and can withstand a lot of physicality without any harm. The odds of inflicting any serious injury are miniscule. You are simply calmly filling up your space with your body, and in return, setting the dog off-balance, which is an uncomfortable feeling for a dog. Lean slightly forward, not backward. Never lean backward, as you will be giving the dog that space. Casually and calmly, keep filling your space, not allowing room for the dog to come in. Remember, your goal is not to knock the dog down, it's just to retain your space.
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.
A conflicting behavior when you come home—like “sit”—helps enormously. You’ll need to practice your puppy’s “sit” during calm moments first, and then ask for this polite behavior before you leave and when you arrive home. Guests will appreciate a polite “sit” when they arrive, too, as they won’t appreciate your puppy leaping around and mugging them for attention.
2. Greet your dog on his level! In addition to waiting to greet your dog, you should also greet him in a stooped position, so that he doesn't have to jump up to greet you. Additionally, if you wish to pet or cuddle your dog, do so on his level. This removes the need to jump at any time. PRAISE HIM for not jumping. If he jumps, use the "Off" command until he stops.
Dog Obedience Advice is a free resource offering advice on dog training and a host of common problems dog owners face, including: aggression in all its forms, from territoriality to possessiveness, and from dominance aggression to aggression caused by fear; the most common and frustrating obedience issues, such as problem digging, chewing, and barking; and comprehensive information on house training methods with sound advice on tackling all of the most common housebreaking problems.
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).
4. Use the "Sit" command. This is one of the most basic, and important, commands. As such, if your dog is well trained, he will respond to the Sit command before even thinking to jump. If he does not respond well to the Sit command, then more training is necessary, as this is the foundation for dog obedience training. Train him until he responds to it in everyday situations, such as greeting and going for walks. The better he understands the Sit command, the much less likely he is to ever jump at all.
When a dog jumps on a human of its own free will, it is not "greeting" the human, it is asserting its dominance over the human; it is the dog communicating that it is alpha and/or wishes to own/control the human. A subordinate would never dream of running over and jumping on the alpha dog of the pack. Space is respect and lower members of the pack respect the higher members. If your dog jumps on humans, it does not respect them. Note: when a young puppy jumps on humans it is sometimes its attempt to reach one's face. Puppies need to be taught not to jump up on humans as this behavior will manifest into other meanings as the puppy grows up into an adult dog.