Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Java 7u51 installer complains that Java 8 is already installed #34

Closed
jbcpollak opened this issue Apr 14, 2014 · 1 comment
Closed

Java 7u51 installer complains that Java 8 is already installed #34

jbcpollak opened this issue Apr 14, 2014 · 1 comment

Comments

@jbcpollak
Copy link

I have manually installed Java 8. When I run Boxen, I get this error message:

Error: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.h7gWu3/Java 7 Update 51.pkg -target /' returned 1: installer: Error - You are trying to install Java 7 Update 51, however Java 8 is already installed.
Visit java.com/newerversionexists for more information.

Error: /Stage[main]/Java::V7u51/Java::Version[v7u51]/Java[7u51]/Package[jre-7u51.dmg]/ensure: change from absent to present failed: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.h7gWu3/Java 7 Update 51.pkg -target /' returned 1: installer: Error - You are trying to install Java 7 Update 51, however Java 8 is already installed.
Visit java.com/newerversionexists for more information.

I would like to support having both versions installed at the same time.

I looked into command line parameters for the installer, but could not find anything relevant. Strangely, if I run the same command manually on the command line, Java installs without an error, but if I run it from Puppet, I get the above errors.

@MikeMcQuaid
Copy link
Contributor

Fixed by #54.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants