Opening CPC I get error - Could not find the main class. Program will exit

0 Likes

Problem:

Opening CPC I get error - Could not find the main class. Program will exit

Resolution:

  • Product Name: StarTeam
  • Product Version: 2005 and 2005R2
  • Product Component: CPC, Crosss Platform Client
  • Platform/OS Version: Windows NT, Windows 2000, Windows 2003, Windows XP

Description:Opening the CPC I get an error "Could not find the main class. Program will exit"


Answer/Solution: If you have an empty directory inside of your classpath (My Computer=>Properties => Advanced tab =>Environment Variables button) you get the error "Could not find the main class. Program will exit"

1. Ensure that you take any additional characters out of the path you have specified in your ClassPath i.e. - ("C:\Program Files\SQLLIB\bin\\") - no extra slashes or quotes 2. Or You can transpose the path in the StarTeamCP.stjava file From classpath=starteam-gui.jar;%CLASSPATH% To classpath=%CLASSPATH%starteam-gui.jar

(see article 5536 for more info on more workarounds)


Author: Ja"Mille Wilborn

Old KB# 27850
Comment List
Related
Recommended