summarylogtreecommitdiffstats
path: root/jalview
blob: dab8b9d022b081b917fed7eccbd6b9275882c6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

progname="jalview"
mainclass="jalview.bin.Jalview"
basedir="/usr/share/java/$progname"

# build classpath: all jars in $basedir
cp=$(ls $basedir/*.jar | xargs echo | sed "s/ /:/g")

# run jar
"/usr/bin/java" -cp $cp $mainclass