Search code examples
windowstizenjava-hometizen-wearable-sdktizen-install

Tizen-sdk-for-wearable-setup Installation issue because of JAVA HOME


System Configuration:

OS - Windows 8
System type - 64-bit Operating System , x64-based processor

I have installed java-8 and set JAVA_HOME as

C:\Program Files\Java\jdk1.8.0

I am getting error as below image while Tizen-sdk-for-wearable-setup Installation.

Tizen Installation error

error - Cannot execute Java even if it was installed. Check environment variable or Java version(over 1.6) please.

I tried installing after JDK 7 both 32 bit and 64 bit and setting JAVA_HOME - Program Files path and Program Files (x86) path both also it didn't worked.

I have a another system in which the Issue didn't occurred.

System Configuration :

OS - Windows 7 Enterprise
System Type - 32 bit operating system.

Installed Java - C:\Program Files\Java\jdk1.6.0_45

JAVA_HOME set as - C:\Progra~1\Java\jdk1.6.0_45

Now there may be many chances why installation is not getting in my win-8 64 bit.

  1. 64 bit JAVA support is not available.
  2. I am not sure about ~ symbol in JAVA_HOME path but it may be to escape space between Program Files and I have not set java home using this symbol.
  3. In win-8 64 bit I have 2 folders. Program Files and Program Files (x86) , I am not sure whether to use ~ or " " to set JAVA_HOME and for 32 bit java or 64 bit java installed.
  4. May be only java 1.6 is supported right now.

I searched and found similar issues :

  1. I find this link but not able to get why its advised to set the system environment Path Variable to 'c:\windows\system32'.
  2. In this link its advised to use InstallManager.jar via cmd.exe.

I can try each possible assumption till it works but hoping to find a solution with proper reason why I am getting this error.

If any one knows how should I work this out please help.


Solution

  • At last solve the Issue.

    Installed jdk1.7.0_51 (I think currently JAVA 8 is not supported).

    Set the JAVA_HOME as C:\PROGRA~1\Java\jdk1.7.0_51 (thanks to @Michael comment).