Note
A: If you have not yet installed Apple's Java Mac OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See Note for Users of Macs that Include Apple Java 6 Plug-in. When you launch a Java application by clicking a JNLP file, or through the browser, it uses the installed. Question or issue on macOS: I want to install OpenJDK Java on Mac OSX and have it work alongside other JDK’s since it is a newer release. Currently, I downloaded the tar.gz and placed it in my path but that is hard to maintain. The only other install I found that do more things automatically.
Using Anaconda in a commercial setting? You may need to use Anaconda Commercial Edition. If you have already purchased Commercial Edition, please proceed to the Authenticating Commercial Edition section after completing your installation here.
Haven’t purchased Commercial Edition yet? Visit https://anaconda.cloud/register to get started.
You can install Anaconda using either the graphical installer (“wizard”) or thecommand line (“manual”) instructions below. If you are unsure, choose the graphical install.
macOS graphical install¶
Download the graphical macOS installer for your version of Python.
RECOMMENDED: Verify data integrity with SHA-256.For more information on hashes, see What about cryptographic hash verification?
Double-click the downloaded file and click continue to start the installation.
Answer the prompts on the Introduction, Read Me, and License screens.
Click the Install button to install Anaconda in your ~/opt directory (recommended):
OR, click the Change Install Location button to install in another location (not recommended).
On the Destination Select screen, select Install for me only.
Note
If you get the error message “You cannot install Anaconda in this location,” reselect Install for me only.
Click the continue button.
Optional: To install PyCharm for Anaconda, click on the link to https://www.anaconda.com/pycharm.
Or to install Anaconda without PyCharm, click the Continue button.
A successful installation displays the following screen:
Verify your installation.
Using the command-line install¶
Use this method if you prefer to use a terminal window.
In your browser, download the command-line version of themacOS installer for your system.
RECOMMENDED: Verify data integrity with SHA-256.For more information on hash verification, see cryptographic hash validation.
Open a terminal and run the following:
Note
Replace
/path/filename
with your installation’s path and filename.Install for Python 3.7 or 2.7:
For Python 3.7 enter the following:
For Python 2.7, open the Terminal.app or iTerm2 terminal application and then enter the following:
Note
Include the
bash
command regardless of whether or not you are using the Bash shell.Note
Replace
~/Downloads
with your actual path andAnaconda3-2020.02-MacOSX-x86_64.sh
with actual name of the file you downloaded.The installer prompts “In order to continue the installation process, please review the license agreement.”Click Enter to view the license terms.
Scroll to the bottom of the license terms and enter yes to agree to them.
The installer prompts you to Press Enter to confirm the location, Press CTRL-C to cancel the installationor specify an alternate installation directory. If you confirm the default location,it will display
PREFIX=/home/<user>/anaconda<2or3>
and continue the installation.Note
Unlike the graphical install, installing the shell file will place it in ~/anaconda<2 or 3> by default,not ~/opt. This is due to limitations with installing .pkg files on macOS Catalina.
Installation may take a few minutes to complete.
Note
We recommend you accept the default install location. Do not choose the path as /usr for theAnaconda/Miniconda installation.
The installer prompts “Do you wish the installer to initialize Anaconda3by running conda init?” We recommend “yes”.
Note
If you enter “no”, then conda will not modify your shell scripts at all.In order to initialize after the installation process is done, first run
source<pathtoconda>/bin/activate
and then runcondainit
.Note
If you are on macOS Catalina, the new default shell is zsh.You will instead need to run
source<pathtoconda>/bin/activate
followed bycondainitzsh
.The installer displays “Thank you for installing Anaconda!”
Optional: The installer describes the partnership between Anaconda and JetBrains andprovides a link to install PyCharm for Anaconda athttps://www.anaconda.com/pycharm.
Close and open your terminal window for the Anaconda installation to take effect.
To control whether or not each shell session has the base environmentactivated or not, run
condaconfig--setauto_activate_baseFalseorTrue
. To run conda from anywhere without having the base environmentactivated by default, usecondaconfig--setauto_activate_baseFalse
.This only works if you have runcondainit
first.Note
condainit
is available in conda versions 4.6.12 and later.Verify your installation.
What’s next?¶
Get started programming quickly with Anaconda in the Getting started with Anaconda guide.
To get the latest features and maintain the security, stability, compatibility, and performance of your Mac, it's important to keep your software up to date. Apple recommends that you always use the latest macOS that is compatible with your Mac.
Learn how to upgrade to macOS Big Sur, the latest version of macOS.
Check compatibility
If a macOS installer can't be used on your Mac, the installer will let you know. For example, it might say that your Mac doesn't have enough free storage space for the installation, or that the installer is too old to be opened on this version of macOS.
If you want to check compatibility before downloading the installer, learn about the minimum requirements for macOS Catalina, Mojave, High Sierra, Sierra, El Capitan, or Yosemite. You can also check compatible operating systems on the product-ID page for MacBook Pro, MacBook Air, MacBook, iMac, Mac mini, or Mac Pro.
Make a backup
Before installing, it’s a good idea to back up your Mac. Time Machine makes it simple, and other backup methods are also available. Learn how to back up your Mac.
Java 6 Will Not Completely Download Hangs Stalls Mac Osx Download
Download macOS
It takes time to download and install macOS, so make sure that you're plugged into AC power and have a reliable internet connection.
These installers from the App Store open automatically after you download them:
- macOS Catalina 10.15 can upgrade Mojave, High Sierra, Sierra, El Capitan, Yosemite, Mavericks
- macOS Mojave 10.14 can upgrade High Sierra, Sierra, El Capitan, Yosemite, Mavericks, Mountain Lion
- macOS High Sierra 10.13 can upgrade Sierra, El Capitan, Yosemite, Mavericks, Mountain Lion, Lion
Your web browser downloads the following older installers as a disk image named InstallOS.dmg or InstallMacOSX.dmg. Open the disk image, then open the .pkg installer inside the disk image. It installs an app named Install [Version Name]. Open that app from your Applications folder to begin installing the operating system.
- macOS Sierra 10.12 can upgrade El Capitan, Yosemite, Mavericks, Mountain Lion, or Lion
- OS X El Capitan 10.11 can upgrade Yosemite, Mavericks, Mountain Lion, Lion, or Snow Leopard
- OS X Yosemite 10.10can upgrade Mavericks, Mountain Lion, Lion, or Snow Leopard
Java 6 Will Not Completely Download Hangs Stalls Mac Osx High Sierra
Install macOS
Follow the onscreen instructions in the installer. It might be easiest to begin installation in the evening so that it can complete overnight, if needed.
If the installer asks for permission to install a helper tool, enter the administrator name and password that you use to log in to your Mac, then click Add Helper.
Java 6 Will Not Completely Download Hangs Stalls Mac Osx 10
Please allow installation to complete without putting your Mac to sleep or closing its lid. Your Mac might restart, show a progress bar, or show a blank screen several times as it installs both macOS and related updates to your Mac firmware.
Java 6 Will Not Completely Download Hangs Stalls Mac Osx Catalina
Learn more
You might also be able to use macOS Recovery to reinstall the macOS you're using now, upgrade to the latest compatible macOS, or install the macOS that came with your Mac.