Sun will won his trial...
And the Microsoft Java Virtual Machine will be removed in the Windows 2000 SP4 (From the MSDN CD of Windows 2000 SP4 for example)
Frequently Asked Questions About the Microsoft VM and Windows 2000 Service Pack 4
When you install Windows 2000 directly in SP4, there is not Java VM.
You must install the Sun Java VM.
I hate the Sun Java VM, too much bug, too heavy, works badly with Insight Manager and Dell IT.....
And it was impossible to install the Sun Java VM on the computer's users.
I works for one day, and knowing Microsoft, I knew that it had a solution there for install MS Java VM on a Windows 2000 SP4.
And naturally it s not informed in Microsoft site.
HERE IS THE SOLUTION
You must have 2 DLL
- vmhelper.dll (version 5.00.3810)
- msjava.dll (version 5.00.3810)
Download MS Java VM (Build 3810) here:
First Location : MS Java 3810
Download MS Java VM (Build 3810) here:
Second Location : MS Java 3810
Extract this package with Winrar or other and extract msjava.dll and vmhelper.dll from javabase.cab
Copy msjava.dll and vmhelper.dll in your system root (C:\Winnt\system32)
And for no user interaction and no reboot use this command line:
MSJavx86.5.0.3810.exe /c:"javatrig.exe /exe_install /l /qq /nowin2kcheck" /q:a /r:n
Or this for no reboot but see what is installed
MSJavx86.5.0.3810.exe /c:"javatrig.exe /exe_install /l /qq /nowin2kcheck" /q:u /r:n
For verifier that Java is installed, go in Internet Explorer > utils > Internet options > advanced > you must have now a Microsoft VM Line and three options !
Works Fine under Windows XP SP1a !!!!!!
If you want to verify the log file, go to c:\WINNT\vminst.log or C:\WINDOWS\vminst.log
At the end of this log file, you must have:
Install successful.
Exit code: 00000000
Don't forget to reboot your PC !!!!!
Page 1 of 1
Install MS Java on WIndows 2000 SP4 How To Install MS Java on a W2K SP4
#2
Posted 28 January 2004 - 06:57 PM
anybody know if this will work for winXp?
has it been tested?
has it been tested?
This post has been edited by diesel_98a: 28 January 2004 - 07:05 PM
#4
Posted 06 February 2004 - 11:49 AM
Works fine with my build of Windows XP Pro.
Thanks for the no reboot option - was missing that piece!
Thanks for the no reboot option - was missing that piece!
#6
Posted 20 December 2004 - 04:59 AM
Copy this batch file in the same folder as the exe and run it to install.
Need write access to the install folder (can not be executed from readOnly CD media).
PREMSJVM.CMD *** Need REG.EXE Registry console Tool For Windows 2000 - version 2.0 ***
or
PREMSJVM.CMD *** w/o Windows 2000 support tool ***
or from ReadOnly CD Media *** Need New tool! Run multiple programs from winnt.sif by big gie. ***
default.XML
unsupported MS Java install in SVCPACK.INF with MT39
SVCPACK.INF
To check if the installation goes smooth:
Open a command prompt and type jview.
The version installed will be displayed.
Need write access to the install folder (can not be executed from readOnly CD media).
PREMSJVM.CMD *** Need REG.EXE Registry console Tool For Windows 2000 - version 2.0 ***
@ECHO OFF
::SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
set destdir=
:GetSysRoot
for /F "tokens=3" %%h in ('reg query "hklm\software\microsoft\windows nt\currentversion" /v "SystemRoot" ^| findstr "REG_SZ"') do set sysroot=%%h
:SetDestDir
set DestDir=%sysroot%\system32
FOR /f "usebackq delims==" %%i in (`dir /b msjavwu.exe`) do (
::"Extract"= MSJAVWU.exe to subfolder MSJAVWU
"%%~ni.exe" /Q /T:%~dp0\%%~ni /C
::"extract dll's"= (needs vmhelper.dll +msjava.dll) to %SystemRoot%\System32
extrac32 /E /A /Y /L %DestDir% %~dp0\%%~ni\javabase.cab *.dll
::"delete extracted files"= SUBFOLDER and content
rundll32.exe advpack.dll,DelNodeRunDLL32 %~dp0\%%~ni
)
or
PREMSJVM.CMD *** w/o Windows 2000 support tool ***
@ECHO OFF
::SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
SET destdir=
:GetSysRoot
:: Export registry tree to temporary file
START /WAIT REGEDIT.EXE /E "%~dp0.\%~n0.dat" "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion"
IF NOT EXIST "%~dp0.\%~n0.dat" GOTO:EOF
:: Read value of "SystemRoot" from temporary file
FOR /F "tokens=2 delims==" %%A IN ('TYPE "%~dp0.\%~n0.dat" ^| FIND /I "SystemRoot"') DO SET SYSROOT=%%~A
DEL "%~dp0.\%~n0.dat"
:SetDestDir
set DestDir=%sysroot%\system32
FOR /f "usebackq delims==" %%i in (`dir /b msjavwu.exe`) do (
::"Extract"= MSJAVWU.exe to subfolder MSJAVWU
"%%~ni.exe" /Q /T:%~dp0\%%~ni /C
::"extract dll's"= (needs vmhelper.dll +msjava.dll) to %SystemRoot%\System32
extrac32 /E /A /Y /L %DestDir% %~dp0\%%~ni\javabase.cab *.dll
::"delete extracted files"= SUBFOLDER and content
rundll32.exe advpack.dll,DelNodeRunDLL32 %~dp0\%%~ni
)
or from ReadOnly CD Media *** Need New tool! Run multiple programs from winnt.sif by big gie. ***
default.XML
<?xml version="1.0" encoding="ISO-8859-2" standalone="no"?> <!-- Note that the new encoding is ISO-8859-2 This will let SOME special characters like accent in french. I think it should work with spanish, german, and other european languages. Please tell me if something doesn't work. --> <mt39 version="0.8.2" testingmode="0" logging="1"> <!-- [MANDATORY] "version" = Your .xml version. It NEEDS to match the program's version [Optionnals] "testingmode" = 0 (default if not present) or 1 mt39 will not execute files but pop you a MessageBox with informations "logging" = 1 (default if not present) or 1 Will launch the logging feature if enabled NOT YET IMPLEMENTED --> <item> <program>MSJavWU.exe</program> <arguments>/c /t:%windir%\temp\IXP000.TMP /q:a</arguments> <hide>1</hide> <wait>300</wait> </item> <item> <program>%windir%\system32\extrac32.exe</program> <arguments>/L %windir%\system32 %windir%\temp\IXP000.TMP\javabase.cab *.dll /Y</arguments> <hide>1</hide> <wait>300</wait> </item> <item> <!-- wextract_cleanup0 --> <program>%windir%\system32\rundll32.exe</program> <arguments>advpack.dll,DelNodeRunDLL32 %windir%\temp\IXP000.TMP</arguments> <hide>1</hide> <wait>300</wait> </item> </mt39>
unsupported MS Java install in SVCPACK.INF with MT39
SVCPACK.INF
[SetupHotfixesToRun] MT39.EXE "MSJAVWU.EXE /Q:A /R:N /c:""javatrig.exe /exe_install /l /qq /nowin2kcheck"""
To check if the installation goes smooth:
Open a command prompt and type jview.
The version installed will be displayed.
Share this topic:
Page 1 of 1



Help
Back to top








