Why am I getting the error "Could not find main class" when starting the StarTeam Cross Platform Client?

0 Likes

Problem:

Why am I getting the error "Could not find main class" when starting the StarTeam Cross Platform Client?

Resolution:


  • Product Name: StarTeam
  • Product Version: 2006
  • Product Component: Cross Platform Client (CPC)
  • Platform/OS Version: Windows


When starting StarTeam Cross-Platform Client (CPC) the following error is displayed,



This would indicate that the CLASSPATH setting in your environment is incorrect and is preventing the StarTeamCP.stjava file from launching the client. To correct this please do the following:

  1. Make a copy of the original "StarTeamCP.stjava" file, usually found in C:\Program Files\Borland\StarTeam Cross-Platform Client 2006
  2. Edit the file with Notepad
  3. Look for the line "classpath=starteam-gui.jar;%CLASSPATH%"
  4. Change this to "classpath=%CLASSPATH%;starteam-gui.jar"
  5. Save the file and start StarTeam again.

If you continue to have problems please contact Borland Technical Support.


Old KB# 27854
Comment List
Related
Recommended