Why do I get the error "Launch Anywhere Error: Windows error 3 occurred while loading Java VM" whilst trying to remove StarTeam Server?

0 Likes

Problem:

Why do I get the error "Launch Anywhere Error: Windows error 3 occurred while loading Java VM" whilst trying to remove StarTeam Server?

Resolution:


  • Product Name: StarTeam
  • Product Version: 2005 R2
  • Product Component: Server
  • Platform/OS Version: All


The reason for this error is that the uninstaller package is unable to determine which Java VM to use to remove the application. To fix this issue please do the following,

  1. Browse to your StarTeam Server directory, default will be C:\Program Files\Borland\StarTeam Server 2005 R2
  2. Open the UninstServer folder and open the Uninstall.lax file with a text editor
  3. Locate the section of the file that begins with # LAX.NL.VALID.VM.LIST
  4. Edit this section of the file to show: lax.nl.valid.vm.list=All
  5. Now try the uninstall program

If this fails try the steps listed below.

  1. If the All entry fails, open a command window and enter java -version, this will return the default java VM settings for your machine. For example,
    java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4 Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
  2. Edit the file to show,
    lax.nl.valid.vm.list=JRE JRE_J2
  3. After editing this file, the uninstaller programe will now know which Java VM your machine uses and will be able to successfully remove the StarTeam Server

The above option will force the uninstaller to first try and use the JRE on your machine, then look for the J2 version of the JRE. The first option in the list will be the first java option the uninstaller will try and use, the second in the list will be the second and so on.


Old KB# 27957
Comment List
Related
Recommended