I'm using this to create a desktop shortcut

ln -s /myprogram/program.jar /root/Desktop/program

This creates the symbolic link fine. But how do I change the ICON from command line. I know you click right click on the shortcut and change the icon that way. But, I need to be able to change it from command line.

Thanks for any help.