PDA

View Full Version : MSJava.dll dependency? (SB5)


NewsArchive
02-21-2005, 04:33 AM
[Tuesday, February 15, 2005 1:13 AM]

Hi

I can't run SB5, latest web update. If I run SBUILDER.EXE in Depend Walker,
it shows MSJAVA.DLL as mising module. That dll doesn't exist in my computer,
I'm not sure when it was removed or SB5 started failing, as I not using SB5
in a daily basis yet.

Does SB5 really need MSJava.dll? Could the dependency be removed?
or, Is there a way to re-install MS Java Virtual Machine? I can't find it.

I'm using Windows XP Pro SP2 Spanish.

Regards,

--
Carlos Gutiérrez

NewsArchive
02-21-2005, 04:33 AM
[Tuesday, February 15, 2005 8:34 AM]

Carlos,

Just performed a dynamic and static sbuilder.exe scan, but sbuilder.exe does
not use (or is dependent on) MSJava.dll here on our systems. sbuilder.exe
is a native Clarion 6.1 executable.

BTW, msjava.dll is a module that provides the COM support for Java programs
to run in the Windows operating system and is part of Microsoft JVM.

Could it be a problem on your machine?

Thanks,
Friedrich

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
02-21-2005, 04:34 AM
[Tuesday, February 15, 2005 10:11 AM]

Carlos,

We checked this on 7 different machines and there is no MSJava.dll
dependency.

This is what our static scanner detected (not filtered)

C:\1a\SB5000\C60\DSCAN.dll
C:\1a\SB5000\C60\LSPACK.dll
C:\1a\SB5000\C60\LSPZIPX.dll
C:\1a\SB5000\C60\SBPATCH.dll
C:\1a\SB5000\C60\SSCAN.dll
C:\1a\SB5000\C60\lspuzipx.dll
C:\1a\SB5000\C60\sbuilder.exe
C:\1a\SB5000\C60\sbutil.dll
E:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
E:\WINDOWS\system32\ADVAPI32.dll
E:\WINDOWS\system32\GDI32.dll
E:\WINDOWS\system32\HHCTRL.OCX
E:\WINDOWS\system32\KERNEL32.dll
E:\WINDOWS\system32\MPR.dll
E:\WINDOWS\system32\OLEAUT32.dll
E:\WINDOWS\system32\RPCRT4.dll
E:\WINDOWS\system32\SHELL32.dll
E:\WINDOWS\system32\SHLWAPI.dll
E:\WINDOWS\system32\USER32.dll
E:\WINDOWS\system32\VERSION.dll
E:\WINDOWS\system32\WINSPOOL.DRV
E:\WINDOWS\system32\comdlg32.dll
E:\WINDOWS\system32\msvcrt.dll
E:\WINDOWS\system32\ntdll.dll
E:\WINDOWS\system32\ole32.dll
E:\WINDOWS\system32\oledlg.dll

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
02-21-2005, 04:34 AM
[Tuesday, February 15, 2005 10:20 AM]

This is what our dynamic scanner detected (not filtered)

E:\PROGRA~1\COMMON~1\efax\HsPfcW32.dll
E:\Program Files\Lindersoft\SetupBuilder 5 Professional\LSPACK.dll
E:\Program Files\Lindersoft\SetupBuilder 5 Professional\LSPZIPX.dll
E:\Program Files\Lindersoft\SetupBuilder 5 Professional\SBPATCH.dll
E:\Program Files\Lindersoft\SetupBuilder 5 Professional\SBUILDER.EXE
E:\Program Files\Lindersoft\SetupBuilder 5 Professional\SSCAN.dll
E:\Program Files\Lindersoft\SetupBuilder 5 Professional\sbutil.dll
E:\Program Files\Wise Package Studio\Hooks\SetupHook.DLL
E:\Program Files\Wise Package Studio\Hooks\SetupWatch.DLL
E:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
E:\WINDOWS\system32\ADVAPI32.dll
E:\WINDOWS\system32\GDI32.dll
E:\WINDOWS\system32\HHCTRL.OCX
E:\WINDOWS\system32\HookDLL.DLL
E:\WINDOWS\system32\HotRes32.dll
E:\WINDOWS\system32\IMM32.DLL
E:\WINDOWS\system32\LPK.DLL
E:\WINDOWS\system32\LZ32.dll
E:\WINDOWS\system32\MPR.dll
E:\WINDOWS\system32\OLEAUT32.dll
E:\WINDOWS\system32\RPCRT4.dll
E:\WINDOWS\system32\SETUPAPI.dll
E:\WINDOWS\system32\SHELL32.dll
E:\WINDOWS\system32\SHLWAPI.dll
E:\WINDOWS\system32\USER32.dll
E:\WINDOWS\system32\USP10.dll
E:\WINDOWS\system32\UxTheme.dll
E:\WINDOWS\system32\VERSION.dll
E:\WINDOWS\system32\WINSPOOL.DRV
E:\WINDOWS\system32\comdlg32.dll
E:\WINDOWS\system32\kernel32.dll
E:\WINDOWS\system32\msctfime.ime
E:\WINDOWS\system32\msvcrt.dll
E:\WINDOWS\system32\ntdll.dll
E:\WINDOWS\system32\ole32.dll
E:\WINDOWS\system32\oledlg.dll

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
02-21-2005, 04:35 AM
[Tuesday, February 15, 2005 10:23 AM]

And this is what Micosoft Dependency Walker deteced (no MSJava.dll)

ADVAPI32.DLL
COMCTL32.DLL
COMDLG32.DLL
DSCAN.DLL
GDI32.DLL
HHCTRL.OCX
KERNEL32.DLL
LSPACK.DLL
LSPUZIPX.DLL
LSPZIPX.DLL
MPR.DLL
MSVCRT.DLL
NTDLL.DLL
OLE32.DLL
OLEAUT32.DLL
OLEDLG.DLL
RPCRT4.DLL
SBPATCH.DLL
SBUILDER.EXE
SBUTIL.DLL
SHELL32.DLL
SHLWAPI.DLL
SSCAN.DLL
USER32.DLL
VERSION.DLL
WINSPOOL.DRV

--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910

NewsArchive
02-21-2005, 04:35 AM
[Tuesday, February 15, 2005 7:46 PM]

Friedrich,

Thanks for checking. I'm attaching what Depend Walker is showing me. The
tree in the upper left shows this dependency:

sbuilder.exe -> shell32.dll -> mshtml.dll -> msjava.dll.

I guess there is something wrong with my XP installation, probably my
shell32.dll is corrupted or outdated. I've also found another program
(non-clarion) which is failing, with same error and msjava dependency.

I'll try in the home notebook (same XP version) and let you know.

Regards,

--
Carlos Gutiérrez

NewsArchive
02-21-2005, 04:35 AM
[Thursday, February 17, 2005 12:58 AM]

Friedrich:

The msjava.dll dependency wasn't important. I managed to reinstall MS
Virtual machine to test, and it didn't fix it. Later I saw Dependency Walker
was labelling msjava.dll as a "delay-load module".

I found sbuilder.exe executed fine in my notebook, which has exactly the
same windows version of my desktop PC. I compared one by one all the dlls
used by sbuilder between notebook and desktop and all them matched. To
confuss things further, if I booted the desktop PC in safe mode, sbuilder
loaded fine.

After a few hours of uninstalling and reinstalling software, I finally found
the problem: the desktop PC has an AMD64 cpu. Windows XP SP2 has a new
feature called "Data Execution Prevention". If I add SBUILDER.EXE to the
list of exceptions, it loads fine. This feature is hidden in "My PC"
properties - "Advanced features" - first "Configuration" button - last Tab

I think somewhere in your code or in one of the libraries you are using
there is "unsafe" code. Maybe you should test this.

Regards,

--
Carlos Gutiérrez