1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#! /bin/sh
# Shell script wrapper around the jeuclid-mathviewer program,
# Copyright 2008 by Sylvestre Ledru <sylvestre.ledru@inria.fr>
#
# Licensed under the same terms as jeuclid-mathviewer itself, that is under
# the conditions of the Apache 2 licencee.
# Include the wrappers utility script
. /usr/lib/java-wrappers/java-wrappers.sh
# We prefer to use openjdk or Sun's java if available
find_java_runtime openjdk sun || find_java_runtime
find_jars jeuclid-cli commons-cli commons-logging batik-all xmlgraphics-commons
find_jars commons-io jeuclid-mathviewer jeuclid-core
run_java net.sourceforge.jeuclid.app.mathviewer.MathViewer "$@"
|