When uninstalling a StarTeam Server the error message, "Launch Anywhere Error: Windows error 3 occurred while loading Java VM" occurs. Why is this?
The error occurs because a version of StarTeam exists that uses a later version of the JVM. For example, if StarTeam 2009 has been installed on a machine that has StarTeam 2005 R2 installed, the JVM will have been updated to the version compatible with ST 2009.
When uninstalling StarTeam 2005 R2 the error will be thrown because of the newer version of the JVM. To unsinstall the the 2005 R2 version it is necessary to run the uninstaller and force it to use a JVM compatible with ST 2005 R2.
1. Click START | RUN
2. Type CMD and press ENTER
3. Navigate to the "C:\Program Files\Borland\StarTeam Server 2005 R2\UninstServer" folder
4. Type uninstall.exe LAX_VM "C:\Program Files\Java\jdk1.5.0_08\bin\java.exe"
You may need to alter the folder names for the version of StarTeam and the JDK being used. This will force the uninstaller to use the specified JVM version to perform the uninstall.