Guide for Setting JDK

Oracle JDK Download page(JAVA SE)

To download JDK, visit

By default, JDK (Java Developer Kit) is installed in C:\Program Files\Java\{JDK Version}.

※ In case of x86 Windows, the directory is C:\Program Files(x86)\Java\{JDK Version}.

The JDK installation includes JRE (Java Runtime Environment) installation. You need the JRE installation to be able to use the Tizen SDK.


Setting the System Variable for JDK 1.7 

The java.exe file (version 1.7) is located in C:\Windows\System32. It finds the installed path using a registry value (CurrentVersion).

The JDK path is set automatically if the %SystemRoot%\system32 path is already set in the system variable.


Setting the System Variable for JDK 1.8 

The java.exe file (version 1.8) is set as symbolic link in the C:\ProgramData\Oracle\Java\javapath directory.

The system variable (C:\ProgramData\Oracle\Java\javapath;) is added automatically.


Setting the System Variable Manually 

You can set the system variable manually if your PC cannot find JDK in the system path, or if you want to use another JDK version.

To change the JDK path in the environment variable settings:

  1. Go to Start, right click on Computer, and then click Properties.


2. Click on Advanced system settings.

3. Click on Environment Variables.



4. Add a new system variable.

  • Add a new system variable using JAVA_HOME (%JAVA_HOME%):

a. Click System variables → New.


b. Set the following details:

  • Variable name: JAVA_HOME
  • Variable value: Set the directory where JDK is installed, such as C:\Program Files\Java\jdk1.7.0_80.


c. Edit the system variable path in System variables → Path → Edit.


d. Set the following details:

  • Variable name: Path
  • Variable value: Add %JAVA_HOME%\bin; in front of the existing variable value.

Note : JDK can be changed by changing JAVA_HOME to another JDK installation directory.


  • Add a new system variable using a path variable:

a. Click System variables (Path → Edit)

b. Set the following details:

  • Variable name: Path
  • Variable value: Add {JDK installation path}\bin;  in front of the existing variable value, such as C:\Program Files\Java\jdk1.7.0_80\bin;.

Note : The variable value must be followed by a semicolon (;). 


Change JDK path and Checking which JRE  is Used

To check the JRE architecture and version in case the environmental variable is mixed by 2 or more JDK installations and user settings:

 1. Go to Environment Variable → System Variable.

2. Add the JDK path in front of the path variable.

3. Use the command line to confirm which JRE version is installed.

Open the command line and type java –version.

If the x64 version is installed, the version number shows in the result. See the following figures for an example.

  • x86 JRE is installed

  • x64 JRE is installed


Well-known issue: Detecting the System Version (x86 JRE Installed in x64 System)

When downloading the JDK installation file, you can select the JDK architecture version.

The following figure shows the JDK download page.  


In case of JRE download page, however, the JRE architecture depends on browser architecture.(x86 or x64).

Normally, the x86 version of Chrome guides you automatically to the installation page, because many users use x86 Chrome.

Check your Chrome version to see your system version.



The following figure shows the JRE download page on an x86 browser. 

The following figure shows the JRE download page on an x64 browser.

The Tizen SDK cannot launch because an x86 version of JRE is installed on an x64 Windows version. 

Similarly, the SDK cannot launch if an x64 JRE is installed on an x86 Windows version.