This question already has an answer here:
I wanted to free some space on my Iphone 4S and I deleted the fonts folder from system. When I want to restore .ipsw with the iTunes gave me the error 3194 with internet, and 3004 without internet connection. I edited the host filed and nothing worked. I try to use TinyUmbrella but this doesn't work and said something about Java error like "please define exe4j_java_home 32-bit jdk or jre download". What can I do now?