简体   繁体   中英

Installing Java 7 on Mac OS X: “A higher version of the JRE is already installed on this system”

When trying to install newly released Java 7 Update 6 for Mac , the installer terminates printing following error message:

A higher version of the JRE is already installed on this system

I installed Java 7 Beta before (which actually has been only an internet plugin), which had some problems with updating.

Deleting Java 7 Internet Plugin folder solves the problem (recommended way of uninstalling the beta), the installer is now able to run successfully.

Run

sudo rm -rf '/Library/Internet Plug-Ins/JavaAppletPlugin.plugin'

or delete /Library/Internet Plug-Ins/JavaAppletPlugin.plugin on your own.

Do not forget to install JDK 7 afterwards, you will not be able to select Java 7 otherwise.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM