boxen / puppet-java

Install Java
http://boxen.github.com
MIT License
13 stars 55 forks source link

Error - A higher version of the JRE is already installed #29

Closed sporkd closed 10 years ago

sporkd commented 10 years ago

I'm getting the following error after upgrading to v1.2.0:

  Error: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.WDl9DF/Java 7 Update 21.pkg -target /' returned 1: installer: Error - A higher version of the JRE is already installed on this system

I probably did upgrade Java outside of boxen at some point, but v1.1.0 never complained about it.

sumeetjain commented 10 years ago

:+1:

tommeier commented 10 years ago

Confirmed, me also,

screen shot 2014-07-18 at 1 37 02 pm

tommeier commented 10 years ago

Actually, fixed for myself, running:

After clearing that, then re-boxening all was well in the world.

dgoodlad commented 10 years ago

The Java auto-update is a pain; There's not much we can do about it, unless we want to dig into the pkgdmg provider to manage versions.

The best way to handle this is for this module to do a better job of keeping on top of Oracle's JRE/JDK releases.