Hai,
Can you explain why you want JAI to be installed?Are you using JCeator to develope your code? I will explain what I did. I just downloaded JAI. Then added the two jar files jai_core.jar and jai_codec.jar to the Jcreator Options , then it was working fine.
Regards,
Cochu.