Created On:  05 October 2011


We cannot use the StarTeam menu option within Visual Studio, or any other StarTeam Integration option, and are continually getting the error "The type initializer for 'java.lang.System' threw an exception".


This is caused by invalid dll’s that are referenced by Visual Studio.  The error message refers to ‘Microsoft Development Environment’ confirming the issue lies within the Microsoft environment. Re-installing the C redistributable packages should resolve the problem.

Microsoft Visual C 2005 Redistributable Package (x86)

Additionally, re-installing the J# Redistributable may also be required, depending on your environment.
Incident #2465674