CAR WONT START

1987 BMW 520 • 223,515 miles

I got this BMW 520I fuel injection 1987 model who doesnt wanna start everytime I wanna drive. It started only when I do give it a jump start. The
dashboard lights do go on when ignition is on. Can it be the starter or the altenator. The battery has been replaced