Smartgit does not open

I am using ubuntu 12.04. I installed the GUI client smartgitfor git via ppa, the icon is smartgiteven displayed in the home page.

enter image description here

But when you click on the icon, the program does not open and nothing happens, the error message is not displayed. Can someone help me on why this is happening?

+4
source share
4 answers

Step 1: Install OpenJDK 8

$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk

For more information on how to install Java, see How to install Java from Apt-Get on Ubuntu 16.04

Step 2. Make Version 8 Default Java

Check which jdk versions are available on your system.

$ sudo update-java-alternatives --list

you should see something like:

java-1.7.0-openjdk-amd64 1071 /usr/lib/jvm/java-1.7.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1069 /usr/lib/jvm/java-1.8.0-openjdk-amd64

Change the default Java version:

$ sudo update-java-alternatives --set java-1.8.0-openjdk-amd64

Step 3. Updating SmartGit Configuration

smartgit.vmoptions

$ nano ~/.smartgit/smartgit.vmoptions

:

jre=/usr/lib/jvm/java-1.8.0-openjdk-amd64/
+3

SMARTGIT_JAVA_HOME var smargit.sh? java install dir , git

+1

Open the terminal hosting smartgit git. Write

cd smartgit
cd bin
sh smartgit.sh 

That will work.

Also, if there are any java related problems with sdk, your screen will cause an error.

+1
source

I also had the same issue when I checked that the JDK was removed, just installed it again, this solved my problem sudo apt-get install openjdk*

0
source

All Articles