Boot Camp Assistant User Guide
- Install Windows On Mac Boot Camp
- Install Windows On Mac With Parallels
- Install Windows On Macbook Without Bootcamp
Jan 11, 2019 Install Windows on Mac so you can jump back and forth from one operating system to another on the same computer. By now, the practice is well-established and Windows can work on Mac well. In this article, we’ll have a deep look at installing Windows on Mac. Before you install Windows, install all macOS updates. On your Mac, log in as an administrator, quit all open apps, then log out any other users.
You can use Boot Camp Assistant to install Windows 10 on your Intel-based Mac.
You need an external USB drive to install Windows on older Mac computers. To find out whether you have a Mac that requires an external USB drive, see the “Learn more” section in the Apple Support article Install Windows 10 on your Mac with Boot Camp Assistant. If your Mac is a newer model that doesn’t require a USB drive, follow the instructions in Install Windows on your newer Mac using Boot Camp instead.
What you need
The keyboard and mouse or trackpad that came with your Mac. (If they aren’t available, use a USB keyboard and mouse.)
A blank 16 GB or larger external USB 2 flash drive, formatted as MS-DOS (FAT).
To format an external USB drive as MS-DOS (FAT), use Disk Utility, located in /Applications/Utilities. In Disk Utility, choose View > Show All Devices, select the USB drive in the sidebar, then click Erase in the toolbar. In the dialog, enter a name for the drive, choose MS-DOS (FAT) from the Format pop-up menu, choose Master Boot Record from the Scheme pop-up menu, then click Erase.
A full-installation, 64-bit version of Windows 10 on a disk image (ISO file) or other installation media.
You can download a Windows 10 Disc Image (ISO File) from Microsoft.
Sufficient free storage space on your startup drive. For information about the amount of free space needed, see the Apple Support Article Install Windows 10 on your Mac with Boot Camp Assistant.
Before you begin
Before you install Windows, make sure you back up important files.
You can use Time Machine or any other method to back up your files. For information about backing up files, see Back up your files with Time Machine and Ways to back up or protect your files.
Perform the installation
Do the following steps in order.
Step 1: Check for software updates
Before you install Windows, install all macOS updates.
On your Mac, log in as an administrator, quit all open apps, then log out any other users.
Choose Apple menu > System Preferences, click Software Update, then install all available updates.
If your Mac restarts after installing an update, open Software Update again to install any additional updates.
Step 2: Prepare your Mac for Windows
Boot Camp Assistant prepares your Mac by creating a new partition for Windows named BOOTCAMP and downloading the Boot Camp support software.
Important: If you’re using a Mac notebook computer, connect it to a power source before continuing.
Connect an external USB drive or insert a flash drive into the USB port on your Mac; keep it connected or inserted while you install Windows and the Windows support software.
On your Mac, open Boot Camp Assistant , located in /Applications/Utilities.
At the introduction screen, click Continue.
The system is checked for total available disk space. Older Time Machine snapshots and cached iCloud files are removed to make space for Boot Camp. This process may take a long time to complete (you can click the Stop button to skip this process).
At the Select Tasks step, select all the tasks, then click Continue.
At the Create Bootable USB Drive for Windows Installation step, choose the Windows ISO image and the USB drive, then click Continue.
The Windows files are copied to the USB drive. This process may take a long time to complete (you can click the Stop button to interrupt this process).
At the Create a Partition for Windows step, specify a partition size by dragging the divider between the macOS and Windows partitions. If you have multiple internal hard drives, you can select a different hard drive from the one running macOS and create a single partition on that drive to use solely for Windows.
Click Install.
When this step is complete, the Windows installer starts.
Step 3: Install Windows
In the Windows installer, follow the onscreen instructions.
When you’re asked where to install Windows, select the BOOTCAMP partition (you may need to scroll through the list of partitions to see it), then click Next.
WARNING: Do not create or delete a partition, or select any other partition. Doing so may delete the entire contents of your macOS partition.
Continue following the onscreen instructions to finish installing Windows.
After you install the Windows software, your Mac automatically restarts using Windows.
Follow the onscreen instructions to set up Windows.
Step 4: Install Boot Camp on Windows
After installing Windows, Boot Camp drivers that support your Mac hardware start installing.
Note: If the support software doesn’t install automatically, you need to install it manually. For instructions, see the Apple Support article If the Boot Camp installer doesn't open after using Boot Camp Assistant.
In the Boot Camp installer in Windows, follow the onscreen instructions.
Important: Do not click the Cancel button in any of the installer dialogs.
If a message appears that says the software you’re installing has not passed Windows Logo testing, click Continue Anyway.
You don’t need to respond to installer dialogs that appear only briefly during installation, but if a dialog asks you to install device software, click Install.
If nothing appears to be happening, there may be a hidden window that you must respond to. Look behind open windows.
When the installation is complete, click Finish, then click Yes to restart your Mac.
After your Mac restarts, follow the instructions for any other installers that appear.
1. Overview
Simply put, Maven is a command-line tool for building Java applications.
The Maven Project provides a simple ZIP file containing a precompiled version of Maven for our convenience. There is no installer. It's up to us to set up our prerequisites and environment to run Maven.
The installation of Apache Maven is a simple process of extracting the archive and adding the bin folder with the mvn command to the PATH.
1.1. Prerequisites
Maven is written in Java (and primarily used for building JVM programs). So, the major prerequisite is the Java JDK. We need to install the Java JDK (e.g. from Oracle's download site), and we should install it to a pathname without spaces.
Once Java is installed, we need to ensure that the commands from the Java JDK are in our PATH environment variable. Running, for example:
must display the right version number.
Apache Maven Tutorial
Maven Dependency Scopes
How to Create an Executable JAR with Maven
2. Installing Maven on Windows
To install Maven on windows, we head over to the Apache Maven site to download the latest version and select the Maven zip file, for example apache-maven-3.3.9-bin.zip.
Then we unzip it to the folder where we want Maven to live.
2.1. Adding Maven to the Environment Path
We add both M2_HOME and MAVEN_HOME variables to the Windows environment using system properties and point it to our Maven folder.
Then we update the PATH variable by appending the Maven bin folder — %M2_HOME%bin — so that we can run the Maven command everywhere.
To verify it, we run:
in the command prompt. It should display the Maven version, the java version, and the operating system information. That's it. We've set up Maven on our Windows system.
3. Installing Maven on Linux
To install Maven on the Linux operating system, we download the latest version from the Apache Maven site and select the Maven binary tar.gz file, for example apache-maven-3.3.9-bin.tar.gz.
Now we extract the archive to our desired location.
3.1. Adding Maven to the Environment Path
We open the command terminal and run the following commands to set the environment variables:
Here, M2_Home path corresponds with the location of our extracted Maven files.
Now we append the M2 variable to the system path:
Finally, we can verify if Maven has been added:
The output should be as follows:
We have successfully installed Maven on our Linux system.
3.2. Installing Maven on Ubuntu
In a terminal, we run apt-cache search maven to get all the available Maven packages:
The Maven package always comes with the latest Apache Maven.
We run command sudo apt-get install maven to install the latest Apache Maven.
This will take a few minutes to download. Once downloaded, we can run the mvn -version to verify our installation.
4. Installing Maven on Mac OS X
To install Maven on Mac OS X operating system, we download the latest version from the Apache Maven site and select the Maven binary tar.gz file, for example apache-maven-3.3.9-bin.tar.gz.
Install Windows On Mac Boot Camp
Then we extract the archive to our desired location.
4.1. Adding Maven to the Environment Path
We open the terminal and switch to the directory where the files were extracted to and then log in as Super – User.
Then we remove the tar.gz archive:
Fix the permissions:
Switch the Maven contents:
Archive the Admin session:
Add Maven binaries to the path and append:
Finally, we use Ctrl+x to Save and Exit from “nano”.
To load the new set up, run:
To test the new installation, run:
We are now ready to use Maven on our Mac OS X.
4.2. HighSierra Compatibility
Install Windows On Mac With Parallels
For HighSierra users, we'll need to additionally add Maven binaries to the path and append.
Ctrl+x to save and exit from “nano”.
To load the new setup, run bash.
5. Conclusion
This quick article illustrated how to install Maven on the major operating systems for development.
Install Windows On Macbook Without Bootcamp
To learn how to get started with Spring with Maven, check out the tutorial here.