I would suggest running under ntsd. I'e seen jitrino.dll issues show up on a number of builds but nothing with your particular signature. When I've seen it, it has typically related to some underlying MSVCR issue.
ntsd -g c:\jre\bin\java -Xem:jet -XX:em.jitPath=C:\jre\jitrino.dll Hello You should get a debug breakpoint at the failure. If you can copy the list of dlls that were loaded, that might help. In the case of failure, I have typically seen another MSVCRT try to load somewhere in this set of module loads (sometimes in between the two loads of gc_cc.dll). ModLoad: 01160000 011a0000 c:\java\harmony-jre-r533500\bin\default\em.dll ModLoad: 011b0000 015c0000 C:\java\harmony-jre-r533500\bin\default\jitrino.dll ModLoad: 015d0000 015f5000 c:\java\harmony-jre-r533500\bin\default\gc_cc.dll ModLoad: 015d0000 015f5000 c:\java\harmony-jre-r533500\bin\default\gc_cc.dll ModLoad: 13100000 13106000 c:\java\harmony-jre-r533500\bin\hysig.dll Running on my system with the r33500 binary build: I would particularly watch out for ModLoad: 7c340000 7c396000 c:\java\harmony-jre-r533500\bin\MSVCR71.dll To see if it is trying to load from somewhere else on your system. CommandLine: c:\java\harmony-jre-r533500\bin\java -Xem:jet -XX:em.jitPath=C:\java\harmony-jre-r533500\bin\default\jitrino.dll hello Loaded dbghelp extension DLL The call to LoadLibrary(ext) failed with error 2. Please check your debugger configuration and/or network access Loaded exts extension DLL The call to LoadLibrary(uext) failed with error 2. Please check your debugger configuration and/or network access Loaded ntsdexts extension DLL Symbol search path is: *** Invalid *** : Verify _NT_SYMBOL_PATH setting Executable search path is: ModLoad: 00400000 0040d000 java.exe ModLoad: 7c900000 7c9b0000 ntdll.dll ModLoad: 7c800000 7c8f4000 C:\WINNT\system32\kernel32.dll ModLoad: 11100000 11118000 c:\java\harmony-jre-r533500\bin\HYPRT.dll ModLoad: 10000000 10407000 c:\java\harmony-jre-r533500\bin\HYTHR.dll ModLoad: 71ab0000 71ac7000 C:\WINNT\system32\WS2_32.dll ModLoad: 77c10000 77c68000 C:\WINNT\system32\msvcrt.dll ModLoad: 71aa0000 71aa8000 C:\WINNT\system32\WS2HELP.dll ModLoad: 77dd0000 77e6b000 C:\WINNT\system32\ADVAPI32.dll ModLoad: 77e70000 77f01000 C:\WINNT\system32\RPCRT4.dll ModLoad: 7c340000 7c396000 c:\java\harmony-jre-r533500\bin\MSVCR71.dll ModLoad: 5cb70000 5cb96000 C:\WINNT\system32\ShimEng.dll ModLoad: 00510000 00934000 c:\java\harmony-jre-r533500\bin\default\harmonyvm.dll ModLoad: 00370000 00383000 c:\java\harmony-jre-r533500\bin\default\zlib1.dll ModLoad: 4a800000 4a8c8000 c:\java\harmony-jre-r533500\bin\icuuc34.dll ModLoad: 4ad00000 4b570000 c:\java\harmony-jre-r533500\bin\icudt34.dll ModLoad: 59a60000 59b01000 C:\WINNT\system32\dbghelp.dll ModLoad: 77c00000 77c08000 C:\WINNT\system32\VERSION.dll ModLoad: 74320000 7435d000 C:\WINNT\system32\ODBC32.dll ModLoad: 5d090000 5d12a000 C:\WINNT\system32\COMCTL32.dll ModLoad: 77f10000 77f57000 C:\WINNT\system32\GDI32.dll ModLoad: 7e410000 7e4a1000 C:\WINNT\system32\USER32.dll ModLoad: 7c9c0000 7d1d5000 C:\WINNT\system32\SHELL32.dll ModLoad: 77f60000 77fd6000 C:\WINNT\system32\SHLWAPI.dll ModLoad: 763b0000 763f9000 C:\WINNT\system32\comdlg32.dll ModLoad: 76bf0000 76bfb000 C:\WINNT\system32\PSAPI.DLL ModLoad: 769c0000 76a73000 C:\WINNT\system32\USERENV.dll ModLoad: 71a50000 71a8f000 C:\WINNT\system32\MSWSOCK.dll ModLoad: 76390000 763ad000 C:\WINNT\system32\IMM32.DLL ModLoad: 629c0000 629c9000 C:\WINNT\system32\LPK.DLL ModLoad: 74d90000 74dfb000 C:\WINNT\system32\USP10.dll ModLoad: 48000000 48027000 C:\PROGRA~1\Google\GOOGLE~2\GOEC62~1.DLL ModLoad: 773d0000 774d3000 C:\WINNT\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6 .0.2600.2982_x-ww_ac3f9c03\comctl32.dll ModLoad: 20000000 20017000 C:\WINNT\system32\odbcint.dll ModLoad: 77fe0000 77ff1000 C:\WINNT\system32\Secur32.dll ModLoad: 01160000 011a0000 c:\java\harmony-jre-r533500\bin\default\em.dll ModLoad: 011b0000 015c0000 C:\java\harmony-jre-r533500\bin\default\jitrino.dll ModLoad: 015d0000 015f5000 c:\java\harmony-jre-r533500\bin\default\gc_cc.dll ModLoad: 015d0000 015f5000 c:\java\harmony-jre-r533500\bin\default\gc_cc.dll ModLoad: 13100000 13106000 c:\java\harmony-jre-r533500\bin\hysig.dll ModLoad: 11700000 11713000 c:\java\harmony-jre-r533500\bin\hyzlib.dll ModLoad: 13300000 13306000 c:\java\harmony-jre-r533500\bin\hytext.dll ModLoad: 01f50000 01f56000 c:\java\harmony-jre-r533500\bin\default\VMI.dll ModLoad: 13200000 13206000 c:\java\harmony-jre-r533500\bin\hynio.dll ModLoad: 01f60000 01f83000 c:\java\harmony-jre-r533500\bin\hyluni.dll ModLoad: 01f90000 01f9d000 c:\java\harmony-jre-r533500\bin\hyarchive.dll ModLoad: 026a0000 026b7000 c:\java\harmony-jre-r533500\bin\icuinterface34.dll ModLoad: 4a900000 4a9aa000 c:\java\harmony-jre-r533500\bin\icuin34.dll Hello World from Java! Thanks, Chris Elford Intel SSG/Enterprise Solutions Software Division -----Original Message----- From: Mikhail Fursov [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 22, 2007 1:00 AM To: [email protected]; [EMAIL PROTECTED] Subject: Re: problem under windows On 5/18/07, Michael M. Miskulin <[EMAIL PROTECTED]> wrote: > > > Ok, seems same result. > > C:\jre>run.cmd > > C:\jre>c:\jre\bin\java -Xem:jet -XX:em.jitPath=C:\jre\jitrino.dll Hello > APR_DSO_LOAD: loading em.dll > APR_DSO_LOAD: loading C:\jre\jitrino.dll > ERROR: code:-1073741795 msg:(null) > ERROR: code:-1073741795 msg:(null) > Failure to open JIT dll C:\jre\jitrino.dll 720317 > apr code: The system cannot find message text for message number 0x%1 in > the mes > sage file for %2. > EM: JIT library loading error:'C:\jre\jitrino.dll' > Cannot instantiate EM > HMYEXEL062E Internal VM error: Failed to create Java VM > FAILED to invoke JVM. > C:\jre> We have unreadable error code here again and this is strange. I tried to add errors intentionally into JIT initialization (illegal memory access) and always have valid error codes. Do you have any pop up dialog with debugging option? (It must appear on any PC with MSVC installed) If you have not, another option is to send a complete debug build to you and check it. ? In addition, the -Xint option fails to work now too. I didn't check it with interpreter, so its OK (our builds are not synchronized). The only test I checked was Hello world application with JIT. -- Mikhail Fursov
