How to configure StarTeam SCC to use MSJava.

0 Likes

Problem:

How to configure StarTeam SCC to use MSJava.

Resolution:

Information in this Brief applies to:

  • StarTeam SCC integrations 5.x

Overview

When using the StarTeam SCC (which uses the Sun JVM), integration it may be necessary to use another Java VM (MSJava) since the IDE is also using the Sun JVM.

Details

If using StarTeam 5.3:

Edit the file "Java.ini", typically found at "C:\Program Files\Starbase\Java\Java.ini" as follows:

[Sun1.4.1_02]
folder=Sun1.4.1_02
vendor=Sun Microsystems
version=1.4.1_02
exe=bin\javaw.exe
dll=bin\client\jvm.dll
[MSJAVA]
dll=msjava.dll

(add the lines in BOLD)

Then edit the file C:\Program Files\Starbase\StarGate SDK\Lib\StarGate53.ini as follows (overwriting the previous settings).

[Java VM]
Name=MSJAVA

The installation of the StarTeam 5.3 SCC integration also installs two additional files xmlParserAPIs.jar and xercesImpl.jar, typically found at:

C:\Program Files\Starbase\Java\lib

You will need to place the XML parser jar files into the classpath ?

1. Open Control Panel and select System

2. From the System dialog select the advanced tab and the Environment Variables button

3. In the System variables group box look for an existing CLASSPATH property. If it exists select edit, if not select new

4. Enter this exact string into the variable value (unless the SDK is not installed to the default location)

C:\Program Files\Starbase\Java\lib\xercesImpl.jar;C:\Program Files\Starbase\Java\lib\xmlParserAPIs.jar

5. Select OK and exit the Control Panel

If using StarTeam 5.2:

Edit the file C:\Program Files\Starbase\StarGate SDK\Lib\stjvl.ini as follows (overwriting the previous settings) ?

[JavaVM]
JVmDLL=msjava.dll

Now, StarTeam is using MSJava instead of Sun.

Old KB# 28317
Comment List
Related
Recommended