I tried to start smartgit 6.5 on my Ubuntu 14.10 32bit with another java version.
in the file
# To specify an alternative Java Runtime Environment, set the environment
# variable SMARTGIT_JAVA_HOME or add a
# line to smartgit.vmoptions (see below).
# To specify additional VM options, add them to smargit.vmoptions
# or ~/.smartgit/smartgit.vmoptions files.
I found the solution: When you start smartgit on the console:
you get a warning:
Warning: /usr/lib/jvm/java-7-openjdk-i386/bin/java/bin/java does not exist
there is a double
/bin/java in that path, so you only have to enter the path to the
And enter just:
This starts smartgit with that version
Since now you always have to start smartgit on the console now, a smaller file would be handy: create a file
cd /tmp; nohup /usr/share/smartgit/bin/smartgit.sh &
and give it executable rights:
chmod +x /usr/local/sbin/smg
now you can start smartgit anywhere with just