/usr/bin/ecj is in ecj 3.5.1-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #! /bin/sh
case "$*" in
*-bootclasspath*) ;;
*)
if [ ! -f /usr/lib/jvm/java-gcj/jre/lib/rt.jar ]; then
bcoption="-bootclasspath /usr/share/java/libgcj-4.6.jar"
fi
esac
if [ -x /usr/bin/ecj-gcj ]; then
exec /usr/bin/ecj-gcj \
$bcoption ${1+"$@"}
else
case $CLASSPATH in
*/usr/share/java/ecj.jar*) ;;
*/usr/share/java/eclipse-ecj.jar*) ;;
*) CLASSPATH=${CLASSPATH:+$CLASSPATH:}/usr/share/java/eclipse-ecj.jar
esac
export CLASSPATH
exec /usr/bin/gij-4.6 \
-Dgnu.gcj.precompiled.db.path=/var/lib/gcj-$ver/classmap.db \
-Djava.ext.dirs=/usr/lib/java-ext:/usr/share/java-ext \
org.eclipse.jdt.internal.compiler.batch.Main $bcoption ${1+"$@"}
fi
|