Heavy elements can be created from lighter elements in stars (read up on nuclear fusion). Heavy elements can also be created from other heavier elements on earth or in stars or elsewhere (read up on fission). Heavy elements can also be created from compounds through various processes e.g. electrolysis.So all the heavier elements were not created in stars, is what you are saying?
So no, not all the heavy elements we have now, right here on earth are created in stars. Sure, a few billion years ago there was not a single heavy element anywhere in the universe and all those heavy elements had to have their origin or were created due to fusion in stars. Since then, heavy elements had their origins and were created through various other processes.