FAQ: Troubleshooting JDK Requirement
Anypoint Studio 7 requires JDK 8 to run properly.
To verify that you have the correct JDK version installed, type
java -version in the command line.
If you are using version 1.7 or earlier, or if you get the error "java: Command not found," install JDK 1.8.