Did the JVC HU come with a metal rectangular box? When I have installed aftermarket HUs in the past, this metal box has tabs that you have to push out in order to "catch" on the opening where you are placing the new radio. It is the tabs that secure the radio to the opening in the vehicle.
Hope this helps.
2006 325ci vert