Uninstalling Java on the Mac. Removing Java from the Mac is a three step effort involving manually deleting various java related plug-ins and files found throughout macOS / Mac OS / Mac OS X, both in the system /Library folder and in the users ~/Library folder.
Arduino IDE 1.6.1 for Mac OS X 10.7 Lion or newer
This version of the Arduino IDE for Mac OS X runs only if you already have Java7 or later installed on your computer.
This guide will help you setting up your Mac if you want to install the experimental version of the Arduino IDE 1.6.1.Before you continue reading, please consider installing the recommended version from the download page, it's the most used, and the easiest to get support.
Follow our Getting Started guide for Mac OS X if you need support when installing the IDE.
Follow our Getting Started guide for Mac OS X if you need support when installing the IDE.
Why an experimental version?
The Arduino IDE uses Java, a platform that simplifies running software on different operating systems, in particular on Windows, Mac OS X and GNU/Linux.Sometimes, when installing the recommended Arduino IDE for Mac OS X you can get a Java error. This can be due to some incompatibility, or to the fact that the Java version you have installed is quite old.
Apple doesn't automatically update the versions of Java installed on your computer: you need to download and install it yourself before running the Arduino IDE. Also, recent Java versions are only available for Mac OS X 10.7 Lion or newer because they run only on 64bit Mac.
Apple doesn't automatically update the versions of Java installed on your computer: you need to download and install it yourself before running the Arduino IDE. Also, recent Java versions are only available for Mac OS X 10.7 Lion or newer because they run only on 64bit Mac.
Walk-through
- Install the Arduino IDE: if no error message is shown, and the Arduino IDE starts as expected, your Mac is already set up with Java 7 (or later) and you don't need to go on reading this guide.
- If your Mac complains with an error message (as shown in this screenshot) you will need to install the latest version of Java.
- Download the latest Java Runtime Environment by clicking on 'Free Java Download' button, and then on 'Agree and Start Free Download' button on the following page.
- When the download is completed, you'll find a .dmg file in your Download folder: at the time of writing, it's named 'jre-8u31-macosx-x64.dmg'. Double click on it.
- Double click on the Java Installation package and follow the installation instructions.
- Once you are done with the Java installation, double click again on the Arduino IDE icon, it should now launch normally.
If the Arduino IDE does not start, the experiment with this experimental version has failed. Please open an issue on our code repository: we both want this installation to succeed.
The text of the Arduino getting started guide is licensed under aCreative Commons Attribution-ShareAlike 3.0 License. Code samples in the guide are released into the public domain.