...
Code Block |
---|
export JAVA_OPTS="-Dsun.io.serialization.extendedDebugInfo=true -Xmx5G -Xms2m -Dfile.encoding=UTF8" export JAVA_TOOLS_OPTS="-Dfile.encoding=UTF8" export SBT_OPTS="$JAVA_OPTS" export DAFFODIL_JAVA_OPTS="$JAVA_OPTS" export LANG=en_US.UTF8 export TMP=/tmp # only needed on linux, only if neither TMP nor TEMP_DIR is defined already |
...
The JAVA_OPTS, SBT_OPTS, and DAFFODIL_JAVA_OPTS respectively set these flags for the java command, the sbt command, and the daffodil command (aka daffodil CLI).
For LANG, adjust the en_US part to your locale, the important part is the ".UTF8". (TBD: This env-var may not be needed at all)
The file.encoding definition is needed on MS Windows. Not required on Linux.
On MS-Windows it may be necessary to add the java JDK "bin" directory to the PATH. Find where the Java JDK is installed (usually under C:\Program Files\Java\jdk...\bin), and put the bin directory on PATH.
...