Thanks for the question @James Sumalinog. 'Im sure many others are wondering the same thing.
There are MANY VR products out there at the moment and I couldn't list the requirements for all of them but since you mentioned the Samsung Galaxy J5 Prime ill list the Gear VR requirements for that. In short, unfortunately the J5 Prime does not meet the minimal specifications.
To use the Gear VR headset, you need one of the following devices (Galaxy S8, S8+, S7, S7 edge, Note5, S6 edge+, S6, S6 edge) Gear VR is directed at Samsung's high end smartphones. Also, since the device does not feature a Gyroscope, i don't think any VR headsets will work.