You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Dmitry Egorov (JIRA)" <ji...@apache.org> on 2008/03/27 19:03:24 UTC
[jira] Updated: (HARMONY-5659) Support for Windows Vista
[ https://issues.apache.org/jira/browse/HARMONY-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dmitry Egorov updated HARMONY-5659:
-----------------------------------
Attachment: vm_init.patch
> Support for Windows Vista
> -------------------------
>
> Key: HARMONY-5659
> URL: https://issues.apache.org/jira/browse/HARMONY-5659
> Project: Harmony
> Issue Type: Bug
> Components: VM
> Affects Versions: 5.0M6
> Environment: Windows Vista SP1
> Reporter: Dmitry Egorov
> Fix For: 5.0M6
>
> Attachments: vm_init.patch
>
>
> When running Harmony under Vista, it shows the following error:
> "Windows 6.0 is not supported
> HMYEXEL062E Внутренняя ошибка VM: Не удалось создать Java VM
> FAILED to invoke JVM."
> The following code from working_vm\vm\vmcore\src\init\vm_init.cpp causes the error_message:
> 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);
> It seems to be written before Vista appeared.
> Adding an option for 6.0 version makes Harmony work on Vista, at least on a simple "Hello, World" app.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.