summarylogtreecommitdiffstats
path: root/xxe.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xxe.sh')
-rw-r--r--xxe.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/xxe.sh b/xxe.sh
new file mode 100644
index 000000000000..6a685c776ca5
--- /dev/null
+++ b/xxe.sh
@@ -0,0 +1,22 @@
+#!/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_GUI="$XXE_GUI" \
+ -DXXE_ADDON_PATH="$XXE_ADDON_PATH" \
+ -DXXE_PREFS_DIR="$XXE_PREFS_DIR" \
+ $XXE_JAVA_OPTS \
+ -classpath "$cp" \
+ com.xmlmind.xmleditapp.app.QuickStart "$@"