mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
look for JVM 1.8 first
This commit is contained in:
@@ -169,12 +169,16 @@ bool FindJVMInRegistryWithVersion(const char* version, bool wow64_32)
|
||||
bool FindJVMInRegistry()
|
||||
{
|
||||
#ifndef _M_X64
|
||||
if (FindJVMInRegistryWithVersion("1.8", true))
|
||||
return true;
|
||||
if (FindJVMInRegistryWithVersion("1.7", true))
|
||||
return true;
|
||||
if (FindJVMInRegistryWithVersion("1.6", true))
|
||||
return true;
|
||||
#endif
|
||||
|
||||
if (FindJVMInRegistryWithVersion("1.8", false))
|
||||
return true;
|
||||
if (FindJVMInRegistryWithVersion("1.7", false))
|
||||
return true;
|
||||
if (FindJVMInRegistryWithVersion("1.6", false))
|
||||
|
||||
Reference in New Issue
Block a user