Terms of Use For FixedByVonnie

By proceeding to access fixedByVonnie.com, you expressly acknowledge, and agree to, all of the following:

fixedByVonnie.com is a personal website and blog owned by Security Plus Pro LLC, which is being presented for informational purposes only. The views on this website are solely those of the website owner (and not those of any employer or of any professional associations affiliated with the website owner).  Any views expressed in this website and any information presented on this website, or in any of its blog entries, should not be relied on for any purpose whatsoever other than as the personal opinions of the website owner.  The website owner expressly disclaims any and all liability for any information presented on this site.  The owner of this website and its blog posts shall not be held liable, and shall be held harmless, for any errors or omissions in any information or representations contained in this website, or in any of its blog entries.  The website owner also expressly disclaims any liability for the current or future availability of any such information. The website owner makes no representations as to the accuracy or completeness of any information on this website or which may be found by following any link on this website. The website owner shall not be held liable for any losses, injuries, damages, claims, or causes of action, from the display or use of any information on this website or in any of its blog entries. If you use the information on this website, or on any of its blog entries, you do so solely at your own risk.

Why can't I install Java? - fixedByVonnie

Why can’t I install Java?

Java hangs at installation

Does Java chronically freeze at the progress bar whenever you try to install it? In most circumstances I recommend disabling Java because of its innate security problems.  But for some applications, Java is essential; therefore, we’ll need to make it work in those cases.

Here are two things you can do that will get you on your way:

1. Disable Antivirus

Some Antivirus programs might tag Java as a threat and stop the installation from completing so you should temporarily disable AV for the purposes of the install.

If you’re worried that briefly letting down the drawbridge and raising the gates to your castle is too risky then here’s a methodical way to mitigate the chance of being compromised:

  1. Disable your internet connection
  2. Disable antivirus protection
  3. Attempt to install Java
  4. Restore antivirus protection
  5. Enable your internet connection

Virus protection such as Microsoft Security Essentials, also known as Windows Defender, can sometimes gets in the way of Java installations. I wrote an article on how to turn on Windows Defender in Windows 8 but you can reverse the steps there to disable it.

2. Install jPortable

The nice thing about jPortable (formerly Java Portable) is that it lets you use a complete Java Runtime Environment (JRE) without actually installing the JRE on the computer.

This is how it works: first go to PortableApps.com to download the latest application.

Find the executable on your computer and click through the the language prompt.

Installing jPortable Select Language

Take the defaults and press on

Install jPortable keep defaults

Click Next on the license agreement screen.

As an aside, I have to say, sometimes I really wonder what I’m agreeing to.

Did I just give Oracle rights to my private data?  Or maybe I’m giving Oracle permission to seize my organs?  Who knows… but if you click Back you can’t use the software.

Install jPortable keep defaults

I usually just keep all the defaults so click Install.

jPortable Installation Path

jPortable downloads the latest Java package from Oracle and then installs the application in a matter of seconds.

Installing jPortable on Windows 8

And now you’re done!

Installing jPortable on Windows 8

The next thing I strongly recommend is to configure your Windows PATH variable so you can run your .JAR applications from the command prompt.

The PATH variable is just a list of directory paths that Windows checks whenever you enter a command without explicitly including the full folder location to where that command lives.

So for example, instead of typing:

C:\Program Files (x86)\Java\jre7\bin\java.exe

you can just type


And Windows will launch the program.

To get started we need to get into Advanced System Settings.

In Windows 8 press the Windows Key + w and type:

 advanced system settings

In Windows 7, just click Start and type the same phrase.

Windows 8 Advanced System Settings

Click the Environment Variables button.

Setting Windows 8 environment variables

Find the Path section in the lower half of the screen and click Edit.

Environmental Variables System Variables

Now in the little dialog box that pops open click in the Variable Value text area and paste in the full path to your Java executable.

Make sure you insert it after the semi-colon that closes any existing path variables.

Windows 8 Edit System Variable

You can find the path  by pressing Windows Key + e and browsing through your Program Files directories.

Click OK, then open the command prompt and enter

java -jar thefileyouwant.jar

That should do the trick for you.


Connect with Vonnie on Twitter

Posted in How To, Security, Windows 7, Windows 8, Windows 8.1 Tagged with: