To access the Java Control Panel, in the System Preferences panel, click the Java icon. Under Oracle Java, only a single version of the JRE can be installed at a time. If I run java -version, I get: java version '' Java(TM) SE Runtime Environment (build -b12) Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode). I have all these environment variables defined, but the Java version can't be detected by Cordova. I reinstalled everything: Android Studio, JDK, Cordova, but nothing. The final release has the following goals: Pass all appropriate certification tests for Java SE 7 Include a complete, native Cocoa-based UI Toolkit Provide excellent performance This Project is sponsored by the Porters. The goal of this Project is to produce a high-quality, open source version of JDK 7 for the Mac. The JDK is a development environment for building applications, applets, and components using the Java programming language. Thank you for downloading this release of the Java™ Platform, Standard Edition Development Kit (JDK™). Ubuntu chooses OpenJDK as its default JDK, which is not 100% compatible with Oracle JDK. There are several JDK implementations available for Linux, such as Oracle JDK, OpenJDK, Sun JDK, IBM JDK and GNU Java Compiler. Java Hello Hello, world from Mac! How to Install JDK on Ubuntu.