I am using ubuntu 12.04. I have installed a gui client smartgit
for git via ppa, the smartgit
icon even shows up in the dash home.
But on clicking the icon the program does not open and nothing happens , no error message is shown. Can anybody help me with why is that happening ?
Step 1: Install OpenJDK 8
$ sudo apt-get update
$ sudo apt-get install openjdk-8-jdk
For more information how to install Java, take a look at How To Install Java with Apt-Get on Ubuntu 16.04
Step 2: Make version 8 your 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 default Java version:
$ sudo update-java-alternatives --set java-1.8.0-openjdk-amd64
Step 3: Update SmartGit config
Open smartgit.vmoptions
$ nano ~/.smartgit/smartgit.vmoptions
and add:
jre=/usr/lib/jvm/java-1.8.0-openjdk-amd64/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With