Could not find the main class: Files Program will exit


After installation the following error is displayed when opening the 2009 CPC:

"Could not find the main class: Files   Program will exit" 

To resolve this issue, please follow the steps below:

  1. Find a colleague or someone who has the 14.0 CPC
  2. Edit starteamcp.stjava64 and set test=1 (it’s usually set to 0).
  3. Run the file, it will show a dialog box with the complete command in it
  4. Copy and paste the command into a .txt file
  5. Save the text file and make sure it has a .bat extension
  6. Edit the previous users mentioned starteamcp.stjava from your colleague's PC and reset test to 0

Comment List