osutil-win32: get JavaHome path of current JRE
authorjinhyung.jo <jinhyung.jo@samsung.com>
Thu, 5 Nov 2015 06:08:19 +0000 (15:08 +0900)
committerJinhyung Jo <jinhyung.jo@samsung.com>
Tue, 10 Nov 2015 04:18:06 +0000 (13:18 +0900)
commitb492cbfce5f19fd664e729a3941b1e47c367295e
tree907ef925c76ba98f912d05244b17f2c32b3b6429
parent52b73c69e30e0fd4240c99916abe939beed9d1b6
osutil-win32: get JavaHome path of current JRE

Currently, the emulator gets the java path by traverses the registry
subkeys of "\\SOFTWARE\\JavaSoft\\Java Runtime Environment".
This can cause side effects.
So modified to get the java path in the normal way.
It gets the JavaHome path of the CurrentVersion.

Change-Id: Ibfa41f3c939f01f3b0ffd5fe4cfa2bdb575be76a
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
tizen/src/util/osutil-win32.c