There are at least two tutorials on this site that give detailed instructions on not only how to use JTR, but how to extract the password hash. Do a search, give them a try, and come back with specific troubles.