Thursday, May 28, 2009

Workaround to Install Java

I ran into a situation recently where Java needed to be installed on a pc but it would not install properly from the web or by running locally. Either msiexec.exe would crash or I would get a message similar to, "The Java cannot be downloaded to your machine. You are living in an embargoed country." After trying many things the solution that worked for me is below.

To install java do this:
- Start->Run->cmd
- go to your java directory (where the install .exe is located)
- type this command: {name of java executable}.exe /s /v"/qn ADDLOCAL=ALL IEXPLORER=1 INSTALLDIR=c:\java\jre"

Hope it helps you like it helped me!

1 comment:

  1. Great.This is such awesome content i got to read after lot of time.Its so interesting as well as informative.I am sure everyone who read it got a lot to learn from it. godaddy coupons

    ReplyDelete