wok view ecj/stuff/ecj.sh.part @ rev 20392
libgnutls: add p11-kit, see http://forum.slitaz.org/topic/current-slitaz-iso-needs-you-to-install-p11-kit-package
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 24 09:21:47 2018 +0000 (2018-06-24) |
parents | |
children |
line source
2 if [ -n "$ECJ_VERSION" ] ; then
3 ECJ_JAR="ecj-$ECJ_VERSION.jar"
4 else
5 ECJ_JAR="ecj.jar"
6 fi
8 if [ -z "$JAVA" ] ; then
9 if [ -n "$(which java)" ] ; then
10 JAVA=java
11 elif [ -n "$(which jamvm)" ] ; then
12 JAVA=jamvm
13 elif [ -n "$(which gij)" ] ; then
14 JAVA=gij
15 elif [ -n "$(which kaffe)" ] ; then
16 JAVA=kaffe
17 else
18 echo "Java interpreter not found"
19 exit 1
20 fi
21 fi
23 $JAVA -cp /usr/share/java/$ECJ_JAR org.eclipse.jdt.internal.compiler.batch.Main "$@"