please help how to run a java program on start up.

Are you using a windows or unix based system?

Yup,
Make a .Jar file of your program & copy it & paste it in Start & go to Startup folder & paste in there! Done :)