Some of zhe reason why a javelin costs what it costs:
- small production runs
- obsolete components
- obsolete production technology
- certification requirements
- continued support and design changes to account for the above
- the mandatory defence surcharge
From top of my head.