[ros-kernel] Can't run java.exe

Jason Filby jasonfilby at yahoo.com
Wed Jan 21 20:19:34 CET 2004


Hi

Here's the output:

(LDR:ldr/utils.c:1839) java.exe imports functions from ADVAPI32.dll
(LDR:ldr/utils.c:1839) ADVAPI32.dll imports functions from
kernel32.dll
(LDR:ldr/utils.c:1839) kernel32.dll imports functions from
kernel32.dll
(LDR:ldr/utils.c:1852) Initializing imports for kernel32.dll from 
kernel32.dll
(LDR:ldr/utils.c:1839) kernel32.dll imports functions from ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for kernel32.dll from
ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for ADVAPI32.dll from 
kernel32.dll
(LDR:ldr/utils.c:1839) ADVAPI32.dll imports functions from ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for ADVAPI32.dll from
ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for java.exe from
ADVAPI32.dll
(LDR:ldr/utils.c:1839) java.exe imports functions from MSVCRT.dll
(LDR:ldr/utils.c:1839) MSVCRT.dll imports functions from kernel32.dll
(LDR:ldr/utils.c:1852) Initializing imports for MSVCRT.dll from
kernel32.dll
(LDR:ldr/utils.c:1839) MSVCRT.dll imports functions from ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for MSVCRT.dll from
ntdll.dll
(LDR:ldr/utils.c:1839) MSVCRT.dll imports functions from msvcrt.dll
(LDR:ldr/utils.c:1852) Initializing imports for MSVCRT.dll from
msvcrt.dll
(LDR:ldr/utils.c:1839) MSVCRT.dll imports functions from msvcrt.dll
(LDR:ldr/utils.c:1852) Initializing imports for MSVCRT.dll from
msvcrt.dll
(LDR:ldr/utils.c:1852) Initializing imports for java.exe from
MSVCRT.dll
(LDR:ldr/utils.c:1839) java.exe imports functions from KERNEL32.dll
(LDR:ldr/utils.c:1852) Initializing imports for java.exe from
KERNEL32.dll
(LDR:ldr/utils.c:2499) kernel32.dll loaded - Calling init routine at 
77f028d3 for process attaching
(LDR:ldr/utils.c:2499) ADVAPI32.dll loaded - Calling init routine at 
77db1000 for process attaching
(LDR:ldr/utils.c:2499) MSVCRT.dll loaded - Calling init routine at 
78008d20 for process attaching
(LDR:ldr/utils.c:2567) MSVCRT.dll - Calling entry point at 78008d20
for 
thread attaching
(LDR:ldr/utils.c:708) LdrLoadDll, loading 
C:\j2sdk1.4.0\jre\bin\client\jvm.dll
(LDR:ldr/utils.c:1839) jvm.dll imports functions from KERNEL32.dll
(LDR:ldr/utils.c:1852) Initializing imports for jvm.dll from
KERNEL32.dll
(LDR:ldr/utils.c:1839) jvm.dll imports functions from USER32.dll
(LDR:ldr/utils.c:1839) USER32.dll imports functions from gdi32.dll
(LDR:ldr/utils.c:1839) gdi32.dll imports functions from kernel32.dll
(LDR:ldr/utils.c:1852) Initializing imports for gdi32.dll from
kernel32.dll
(LDR:ldr/utils.c:1839) gdi32.dll imports functions from ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for gdi32.dll from
ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for USER32.dll from
gdi32.dll
(LDR:ldr/utils.c:1839) USER32.dll imports functions from kernel32.dll
(LDR:ldr/utils.c:1852) Initializing imports for USER32.dll from
kernel32.dll
(LDR:ldr/utils.c:1839) USER32.dll imports functions from ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for USER32.dll from
ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for jvm.dll from
USER32.dll
(LDR:ldr/utils.c:1839) jvm.dll imports functions from WINMM.dll
(LDR:ldr/utils.c:1839) WINMM.dll imports functions from kernel32.dll
(LDR:ldr/utils.c:1852) Initializing imports for WINMM.dll from
kernel32.dll
(LDR:ldr/utils.c:1839) WINMM.dll imports functions from ntdll.dll
(LDR:ldr/utils.c:1852) Initializing imports for WINMM.dll from
ntdll.dll
(LDR:ldr/utils.c:1839) WINMM.dll imports functions from ADVAPI32.DLL
(LDR:ldr/utils.c:1852) Initializing imports for WINMM.dll from
ADVAPI32.DLL
(LDR:ldr/utils.c:1839) WINMM.dll imports functions from KERNEL32.dll
(LDR:ldr/utils.c:1852) Initializing imports for WINMM.dll from
KERNEL32.dll
(LDR:ldr/utils.c:1839) WINMM.dll imports functions from msvcrt.dll
(LDR:ldr/utils.c:1852) Initializing imports for WINMM.dll from
msvcrt.dll
(LDR:ldr/utils.c:1839) WINMM.dll imports functions from USER32.dll
(LDR:ldr/utils.c:1852) Initializing imports for WINMM.dll from
USER32.dll
(LDR:ldr/utils.c:1852) Initializing imports for jvm.dll from
WINMM.dll
(LDR:ldr/utils.c:1839) jvm.dll imports functions from MSVCRT.dll
(LDR:ldr/utils.c:1852) Initializing imports for jvm.dll from
MSVCRT.dll
(LDR:ldr/utils.c:2499) gdi32.dll loaded - Calling init routine at 
77ed1000 for process attaching
(LDR:ldr/utils.c:2499) USER32.dll loaded - Calling init routine at 
77e7985f for process attaching
(LDR:ldr/utils.c:2499) WINMM.dll loaded - Calling init routine at 
777cc425 for process attaching
(LDR:ldr/utils.c:708) LdrLoadDll, loading wineoss.drv
(NTDLL:ldr/utils.c:2041) Failed to create or open dll section of 
'wineoss.drv' (Status c0000135)
(LDR:ldr/utils.c:2298) LdrGetDllHandle, searching for kernel32 from
(LDR:ldr/utils.c:2332) LdrGetProcedureAddress by NAME -
GetModuleHandle16
(NTDLL:ldr/utils.c:1191) LdrGetExportByName(): failed to find 
GetModuleHandle16
(LDR:ldr/utils.c:2332) LdrGetProcedureAddress by NAME - LoadLibrary16
(NTDLL:ldr/utils.c:1191) LdrGetExportByName(): failed to find
LoadLibrary16
(LDR:ldr/utils.c:708) LdrLoadDll, loading msacm.drv
(NTDLL:ldr/utils.c:2041) Failed to create or open dll section of 
'msacm.drv' (Status c0000135)
(LDR:ldr/utils.c:708) LdrLoadDll, loading midimap.drv
(NTDLL:ldr/utils.c:2041) Failed to create or open dll section of 
'midimap.drv' (Status c0000135)
(LDR:ldr/utils.c:2499) jvm.dll loaded - Calling init routine at
6d3f7753 
for process attaching
(LDR:ldr/utils.c:2332) LdrGetProcedureAddress by NAME -
JNI_CreateJavaVM
(LDR:ldr/utils.c:2332) LdrGetProcedureAddress by NAME - 
JNI_GetDefaultJavaVMInitArgs
(KERNEL32:mem/global.c:400) <-- LPMEMORYSTATUS: dwLength 2013364457, 
dwMemoryLoad 0, dwTotalPhys 16777216, dwAvailPhys 16777216, 
dwTotalPageFile 16777216, dwAvailPageFile 16777216, dwTotalVirtual 0,

dwAvailVirtual 4294901760

Any ideas?

Thanks
Jason

Hartmut Birr wrote:

>Hi,
>
>
>
>can you enable the ntdll loader debug messages and try it again? You
>
>must add a registry key for java.exe like this:
>
>
>
>HKLM,"Software\Microsoft\Windows NT\CurrentVersion\Image File
Execution
>
>Options\java.exe","GlobalFlag",0x00000000,"0x00000002"
>
>
>
>A sample is in hivesft.inf for loadlib.exe.
>
>
>
>- Hartmut
>
>
>
>
>
>_______________________________________________
>
>Ros-kernel mailing list
>
>Ros-kernel at reactos.com
>
>http://reactos.com/mailman/listinfo/ros-kernel
>
>  
>


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/


More information about the Ros-kernel mailing list