harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Shimansky <gshiman...@apache.org>
Subject Re: [windows] is vista explicitly not supported
Date Wed, 14 Nov 2007 13:40:52 GMT
Alexey Petrenko wrote:
> Aha, looks so...
> 
> working_vm\vm\vmcore\src\init\vm_init.cpp
> === cut ===
>     if((osvi.dwMajorVersion == 4 && osvi.dwMinorVersion == 0) ||  // NT 4.0
>        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 0) ||  //
> Windows 2000
>        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 1) ||  // Windows
XP
>        (osvi.dwMajorVersion == 5 && osvi.dwMinorVersion == 2)) {  //
> Windows.NET
>             return JNI_OK;
>     }
>     printf("Windows %d.%d is not supported\n", osvi.dwMajorVersion,
> osvi.dwMinorVersion);
>     return JNI_ERR;
> === cut ===
> 
> Do we really have some code which prevents us from running on Windows
> version higher then 5? We can't we just check min version?
> 
> Nathan, could you please remove this check and test what happens? :)

I think this code was written before Vista existed to make sure the OS 
version is not too old. It could be changed to handle more modern 
versions automatically. I don't have a Vista however, so I don't know if 
a binary built on XP will work on it.

> 2007/11/14, Nathan Beyer <ndbeyer@apache.org>:
>> Is Windows Vista explicitly not supported? I get the follow when
>> launching something (i've only tried to two different apps).
>>
>> Windows 6.0 is not supported
>> HMYEXEL062E Internal VM error: Failed to create Java VM
>> FAILED to invoke JVM.
>>
>> -Nathan
>>
> 


-- 
Gregory


Mime
View raw message