JDK installation

The purpose of this section is to guide you to install Java in your development environment. JDK is a shortcut for Java™ Platform, Standard Edition Development Kit

The JDK is a development environment for building applications, applets, and components using the Java programming language.

Latest version of JDK is JDK 8.

JDK 8 installation is mandatory if you want to target Android devices.

Navigate to the following URL : http://www.oracle.com/technetwork/java/javase/downloads/

Locate the button Java SE Downloads:

Click on this button. On the next page select the latest release for the 64-bit platform: jdk-8u102-windows-x64.exe:

Double-click on the downloaded file : jdk-8u102-windows-x64.exe to start installation of JDK. Do a standard installation by clicking on next button at each step of the installation wizard.

Execution of this package installer is possible only if you have administrator privileges on your machine. This may not be the case if you are inside a company : check this point with your system administrator.

To ensure the installation is complete, you can manually invoke the Java compiler called javac.exe. Javac is located in folder C:\Program Files\Java\jdk1.8.0_102\bin.

To do this open a Command Prompt (All Apps-> Windows System -> Command Prompt) and type javac. You should have a response like:

Usage: javac <options> <source files>

If javac is not found, reboot your machine and try again.

If still not found, add the path C:\Program Files\Java\jdk1.8.0_102\bin to the PATH Windows environment variable.

To add a path to the PATH environment variable:

  1. Open window All Apps -> Windows System -> Control Panel -> System and Security -> System
  2. Click on Advanced System Settings
  3. On the Advanced tab of the System Properties dialog box, click Environment Variables.
  4. In the System Variables box of the Environment Variables dialog box, scroll to Path and select it.
  5. Click the lower of the two Edit buttons in the dialog box.
  6. In the Edit System Variable dialog box, click the New button.
  7. Type the path : C:\Program Files\Java\jdk1.8.0_102\bin
  8. Click OK in three successive dialog boxes, and then close the System dialog box.

results matching ""

    No results matching ""