JJ - it is not the hand that you can safely go all-in preflop. First of all, there are three hands against which you will be far behind - is AA, KK, QQ. In addition, you will have only a coinflip against hands like AK, AQ, KQ. And those hands against which you will be well stand in the all-in, are unlikely to be exposed before the flop (well, except that 99, TT, AJ sometimes). But as the jacks still pretty strong pair, open should always raise. The weakness of this pair that determine where you are, you are, with it - a task quite difficult. I recommend the super-aggressive play jacks on the flop with one or no overcards. It is better to immediately determine their chances, than to invest in the bank a lot of money on the later streets. That is, you have to bet first or raise. If you are re-raised on the flop with an overcard, you can safely fold. If you just calls, continue to bet on the turn is a blank or check if another overcard comes.
If nit open shove when you raise with JJ pre-flop you better fold it. Most likely you run in to big pair. If call will cost you no more than 20% of the stack you can call it, even if opponent has big pair you still have outs and chance.