you need a pic programmer.
Pickit2
or you can build a clone of the Pickit2
Code:
http://www.micros-designs.com.ar/pickit2-clone-5v3-3v/
http://www.mcuhobby.com/articles.php?article_id=7&rowstart=0
or Google Pickit2 clone there's a lot.
you can get samples of PIC18F2550 for the Pickit2 Clone and also PIC18F4550 for the project at Microchips website.
ive built it but am getting "ERROR: Invalid JSON Player.GetActivePlayers result data" in the log file