How to install MS Java
- First, you may want to move your old Wine directory for safekeeping and to make sure the right files are created by wine in the ~/.wine directory:
$ mv ~/.wine ~/.wine.old
Next, copy advpack.dll from a Windows 98 or Windows 95 system to the Wine system32 directory and run winecfg:
$ cd /media/disk/WINDOWS/ $ cp advpack.dll ~/.wine/drive_c/windows/system32 $ wine winecfg
- Make a note of what version of Windows you have selected in the "Windows" drop-down box in the "Applications" tab.
- Select "Windows 98" from the "Windows" drop-down box in the "Applications" tab.
- Select the "Libraries" tab in winecfg and type "advpack" in the "Now override for library:" input box and click "Add".
- Click "OK" to close winecfg and save your changes.
- Then install msjava:
$ wine msjavax86.exe
- Finally, run winecfg once more and restore the original value you made a note of earlier in the "Windows" drop-down box in the "Applications" tab.
