...
1- Check the minimum release requirement:
- 5.0 https://www.juniper.net/documentation/en_US/cso5.0/information-products/topic-collections/release-notes/5.0.0/jd0e64.html#jd0e247
- 5.1.1 https://www.juniper.net/documentation/en_US/cso5.1/information-products/topic-collections/release-notes/5.1.1/jd0e107.html#jd0e112
2- Upgrade/downgrade the SRX ( if needed)
...