How can I change the default Java (JVM) that StarTeam Eclipse Client will use?

0 Likes

Problem:

How can I change the default Java (JVM) that StarTeam Eclipse Client will use?

Resolution:


  • Product Name: StarTeam
  • Product Version: All
  • Product Component: Eclipse Client (STEC)
  • Platform/OS Version: All


You can specify which JVM (Java Virtual Machine) that StarTeam Eclipse Client (STEC) should use by including the "-vw" parameter when launching Eclipse.

The following command will launch STEC using the specified Java;

eclipse.exe -vm

Replacing the path to your desired JVM as required e.g.

eclipse.exe -vm C:\Program Files\Java\jre1.5.0_08\bin\javaw.exe

You can either create a Windows shortcut to the Eclipse.exe (and append the parameter in the "Target" directory of the shortcut), or create a batch file to include this parameter.

You may be required to do this when you have installed another version of Java that is not currently supported by STEC, but you do not want to change the JVM that other applications use.


Old KB# 29158
Comment List
Related
Recommended