[Wine] Problem on installing MS VM on wine

Sylvain Petreolle spetreolle at yahoo.fr
Wed Aug 15 07:55:08 CDT 2007

This page  detects Ms JVM, Sun JVM and Java Web Start :
Kind regards,
Sylvain Petreolle (aka Usurp)
--- --- --- --- --- --- --- --- --- --- --- --- ---
Run your favorite Windows apps with free ReactOS : http://www.reactos.org
Listen to non-DRMised Music: http://www.jamendo.com

----- Message d'origine ----
De : L. Rahyen <research at science.su>
À : Stephen Liu <satimis at yahoo.com>
Cc : wine-users at winehq.org
Envoyé le : Mercredi, 15 Août 2007, 14h17mn 00s
Objet : Re: [Wine] Problem on installing MS VM on wine

On Tuesday August 14 2007 15:14, Stephen Liu wrote:
> --- "L. Rahyen" <research at science.su> wrote:
> - snip -
> >     Now back to your problem. In instructions on the Internet I see that
> > it is
> > necessary to reboot Windows after msjave installation. In WINE you
> > need to
> > execute:
> >
> > WINEPREFIX=~/.ies4linux/ie6 wineboot
> >
> >     This will ecmulate Windows reboot in WINEPREFIX with msjava. Then
> > try to
> > launch IE6 and see if msjava is detected.
> $ WINEPREFIX=~/.ies4linux/ie6 wineboot
> Registration of c:\windows\system32\StdOle2.Tlb successful.
> Started IE6
> Tools -> Internet Options -> Advanced -> Settings;
> MS VM still can't be found.  Only java (Sun) is there.

    I have tried to install msjava. First I want to say you that installation 
fails by default because it is doesn't like win2000 version. You need to set 
winxp instead. Yeah, I know installer tells you after that stupid unobvious 
error message that "Install complete" but you don't really trust Microsoft, 
do you?
    Second, installation fails with clean WINE set to winxp version at 
XML-related stage. It isn't very obvious why but I (maybe) will investigate 
this later.

    For now, good news: I managed to install msjava with IE and now I 
see "Microsoft VM" with related options here:

Tools -> Internet Options -> Advanced -> Settings;

    Actually everything is very simple. First, run:

WINEPREFIX=~/.ies4linux/ie6 winecfg

    Set there winxp version and click OK. Now run your installers:

WINEPREFIX=~/.ies4linux/ie6 wine msjavx86b3805.exe
WINEPREFIX=~/.ies4linux/ie6 wine MSJavWU_8073687b82d41db93f4c2a04af2b34d.exe

    Please note then each installer will segfault twice but this will not stop 
the installation. Just ignore this. After successful installation run IE6. 
Make sure to disable Sun Java and then restart IE. Now can test your msjava 
installation. In IE's adressbar type this URL:


    ...And press Enter. Scroll the page down and you will see information about 
your Java VM. In my case I see there:

Support: Your browser support JVM!
MajorVersion: 5
MinorVersion: 0
BuildNumber: 0
BuildIncrement: 3810
Description: Microsoft (R) VM for Java, 5.0 Release

    Please note that above only works with Microsoft JVM. Sun JVM is not 
supported! This is good because you can be sure that you really running 
msjava if you can see something in above fields on that page.

    You need to use winxp version otherwise msjava will crash frequently. 
Fortunately it is not that bad with current WINE (if you don't know in (much) 
older WINE versions there was ugly problems if you try to use win2000 or 
above with IE).
    In my opinion sites without Sun Java support are completely brain-dead. 
Microsft JVM is not supported on Microsoft Windows since SP1a. But if you 
really need msjava you should be able to use it if you follow howto above. In 
fact, msjava runs just fine for me, even somewhat complex applets can work 
without any trouble.

    In case of any problems with msjava you can ask me for additional help.

wine-users mailing list
wine-users at winehq.org

More information about the wine-users mailing list