Check out this excellent guide http://www.iphoneforums.net/forum/iphone-jailbreaking-17/jailbreaking-methods-iphone-18519/ it should provide all the info that you need.
ok. I have that softwares, but I dont know how to use it on iphone. plz help me.