File: latexdraw

package info (click to toggle)
latexdraw 3.3.8%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid
  • size: 10,068 kB
  • sloc: java: 58,403; xml: 1,295; sh: 66; makefile: 15
file content (26 lines) | stat: -rw-r--r-- 721 bytes parent folder | download | duplicates (2)
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
#!/bin/sh

# latexdraw wrapper script

# Include the wrappers utility script
. /usr/lib/java-wrappers/java-wrappers.sh

# Find an appropriate java runtime environment as we can't rely on
# the alternatives setting in /usr/bin/java to provide the appropriate
# version of java even if the package is installed.
# We need openjdk6, openjdk7 or sun6 runtime.
find_java_runtime sun6 openjdk

find_jars \
    latexdraw.core \
    net.sourceforge.jlibeps \
    scala-library \
    scala-parser-combinators \
    malai.core \
    malai.swing

# Add /usr/share/doc/latexdraw/ to the classpath as it is used to
# locate help files
JAVA_CLASSPATH=$JAVA_CLASSPATH:/usr/share/doc/latexdraw/

run_java net.sf.latexdraw.LaTeXDraw "$@"