Pineapple juice contains protease, which inhibits gelatin from setting up. Many salads contain pineapple itself, which does not affect the salad. Pineapple juice (usually a large amount of it) will result in a soft jello salad that doesn't hold its shape, so it's best to avoid it altogether.