Any idea where or when I can get a snapshot build of this updated code (either a stable build or just a head build)? I don't have the capacity to build Harmony at the moment...
Also just to check - have you added 6.1 as a supported platform or changed to code to run with anything of Windows version 6.1 or above? I ask simply because if anyone builds a product which distributes a Harmony JVM they will find that they have to again notify dev@harmony.apache.org of this, then rebuild and re-release their product just to support new windows platforms which they might otherwise work fine with...? A On 28 June 2010 21:34, Mark Hindess <mark.hind...@googlemail.com> wrote: > > In message <aanlktimrqnftvsy0m6hrr3uuqizz8hf-il_flvcba...@mail.gmail.com>, > Antony Miguel writes: >> >> Hi, >> >> I apologise in advance if this is not the appropriate category, I'm >> not sure exactly where the issue would be here. >> >> Today I downloaded the latest stable builds of Harmony (5.0 r946978 >> and 6.0 r946981) and ran them on Windows 7. In both cases I got: >> >> " >> Windows 6.1 is not supported >> HMYEXEL062E Internal VM error: Failed to create Java VM >> FAILED to invoked JVM. >> " >> >> I searched around and all I could find was this: >> >> http://mail-archives.apache.org/mod_mbox/harmony-dev/200711.mbox/%3Cc3755b3a0 >> 711140205o566023as6c78a56407d81...@mail.gmail.com%3e >> >> this was from 2007 and referred to Vista, the stable builds are from >> May 2010 and my issue is on Windows 7, however looking at the latest >> version of the bit of code the above bug mentions (vm_init.cpp) it >> seems it is perhaps just erroring because windows 7 isn't specifically >> listed as a supported platform... >> >> 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 >> (osvi.dwMajorVersion == 6 && osvi.dwMinorVersion == 0)) { // >> Windows Vista >> return JNI_OK; >> } >> printf("Windows %d.%d is not supported\n", osvi.dwMajorVersion, >> osvi.dwMinorVersion); >> return JNI_ERR; >> >> >> It seems this error is occurring just because the above code tries >> to detect specific versions rather than minimum versions (as was >> suggested in the post back in 2007), having said that Windows 7 has >> been out for almost 12 months... has it been left out specifically >> because there are issues on Windows 7 which mean Harmony doesn't work >> on it? >> >> If not then wouldn't it be a good idea to change the above code >> to let the JVM run and *try* to work on versions later than those >> specifically listed (given that I would imagine the vast majority of >> JVM features will work on subsequent Windows versions)? or at least >> allow the user to specify a command line switch to not just exit? As >> it stands, it seems that if someone tries to use Harmony on an updated >> version of windows that hasn't been specifically hard coded into the >> above list it will just fail whether it needs to or not? >> >> Thanks >> Antony > > I guess none of the current developers have access to windows 7 systems. > I certainly don't. > > Since Michael suggests that this works, I've update the code at r958711. > Let me know if that helps. > Regards, > Mark. > > >