5

SmartGit worked fine for years. Suddenly won't start at all:

Couldn't load main class

If I uninstall and reinstall, it's still the same. If I move or rename the folders in C:\Users\User\AppData\Roaming\syntevo\SmartGit, it's still the same.

If I run it as administrator it works.

This is SmartGit 6.5.8 in Windows 7 Pro 64-bit.

Asked over a week ago in the official support forum (Yahoo Groups? ಠ_ಠ) but no solution there, so trying here.

2
  • 1
    Hahahaha when I opened the question I thought my OS had an issue, because of your picture with the error. Feb 20, 2019 at 17:19
  • I had a similar issue when I changed the default path of the Temp/TMP paths to the Windows\Temp directory (Windows 10). Only if I changed it back (e.g. to C:\Temp) - started working again.
    – Andron
    Jul 8, 2019 at 22:01

1 Answer 1

6

As it turned out, the problem was the TEMP/TMP environment variables pointing to C:\Windows\Temp where the normal user hadn't permission, but the administrator had. The smartgit.exe tried to write a small .jar file there which failed and later could not be found.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.