summarylogtreecommitdiffstats
path: root/xxe.sh
blob: 36955ab550d132ed0a6cfb6330ad32acc16706c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

dist=/usr/share/java/xxe/bin
jars="$dist/xerces.jar:$dist/resolver.jar:$dist/relaxng.jar:$dist/saxon.jar:$dist/saxon9.jar"
cp="$dist/xxe.jar:$jars"

# Disabled Java 9+ native HiDPI mode because the rendering of
# text and graphics is nicer using built-in HiDPI support:
# -Dsun.java2d.uiScale.enabled=false
# You may re-enable Java 9+ native HiDPI mode by removing
# this option.

exec java -Xss4m -Xmx512m \
          -Dsun.java2d.uiScale.enabled=false \
          -Dawt.useSystemAAFontSettings=on \
          -Dswing.aatext=true \
          -DXXE_ADDON_PATH="$XXE_ADDON_PATH" \
          -DXXE_PREFS_DIR="$XXE_PREFS_DIR" \
          $XXE_JAVA_OPTS \
          -classpath "$cp" \
          com.xmlmind.xmleditapp.desktop.QuickStart "$@"