I've had the same problem. I do one out of two things. BTW this works for chickens as well. First and easiest is to put a square chunk of 2x4 under it. When they are really young, I'll put something just a touch lower in front of it as kind of a platform (but without the shavings to get in the water). Usually I just deal with the shavings for the first bit until they can reach onto the block of wood. This works great until they get big enough to roost on it and knock it over or they go into their "I'm in the Army Corp of Engineers" stage and pile up mountains of shavings. Then (And I just started doing this) I suspend the whole nine yards. I use aluminum electric fence wire (because it was there). Take about five feet of wire (depending on the height of your jar), double it and the put the mouth of the jar between the doubled "legs" of the wire right at the shoulder of the jar . Now twist the wire the wire on both sides trapping the jar in place, make sure the wire is centered. Bend wire up the sides of the jar and tape to the sides. I use duct tape, but electric or other tape would be fine. Now take both wires (should be two strands per side of the jar) and twist together over the top. One side will have the bend in it from where you doubled the wire to start with, use that as a loop to hang the waterer, or if it is really long, bend it into a hook. Cut the other side back a bit. Takes longer to explain than to do. You could just tape wire or string in a loop to the jar as well, but it won't last as long. The other nice side effect of the wire going over the top of the jar is it creates an effective roost guard. I will adjust the waterer height to match the size of the growing chicks. I put it at shoulder height, low enough that they don't really have to strain to get to it, but high enough that they don't try to climb on/in it. Same thing with food, a lot less waste.
Swamp