If the glass is uncolored, you can tell which one it is by looking at a thick layer of it (e.g. along the sides): soda-lime has a green-blue tint, while borosilicate is more yellow:
Borosilicate:
Soda-lime:
If you don't mind shattering the jar, you can always test it: put some ice cubes inside, wait until the jar is cold to the touch, and then pour boiling water on the outside (or put the jar in a pot with just boiled water). Borosilicate glass will not crack, soda-lime will.