Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best way to update Java version on Mac computer? [duplicate]

Should I run brew or update Java via the Web or some other method?

like image 928
Joe Avatar asked Aug 16 '17 04:08

Joe


2 Answers

Just go to the java page and download the latest version. Upon starting the installation process, the installer automatically detects your current java version, either deletes it and does a complete reinstall or just updates your version.

like image 116
Xaphas Avatar answered Oct 24 '22 01:10

Xaphas


You can update Java by downloading the newer version from Oracle directly When you install the installer would delete the older version for you.

Or you Mac has built in system that would fetch and update java from Oracle for you for you. Go to System Preference > Java > Update > Update Now. It would also be a good idea to turn on "Check for Updates Automatically" that way when a newer version of Java comes out your Mac would ask you to install it and it becomes a simple one click install.

enter image description here

like image 23
OLIVER.KOO Avatar answered Oct 24 '22 03:10

OLIVER.KOO