Menü schliessen
Created: January 27th 2015
Last updated: May 1st 2020
Categories: Linux,  Miscellaneous Online Services
Author: Marcus Fleuti

Synametrics Syncrify problems with UTF-8 charset within the Java JRE

Tags:  Encoding,  Java,  JRE,  Synametrics,  Synrify,  UTF-8
Donation Section: Background
Monero Badge: QR-Code
Monero Badge: Logo Icon Donate with Monero Badge: Logo Text
82uymVXLkvVbB4c4JpTd1tYm1yj1cKPKR2wqmw3XF8YXKTmY7JrTriP4pVwp2EJYBnCFdXhLq4zfFA6ic7VAWCFX5wfQbCC

We found out that on some Linux systems the Synametrics Syncrify service starts with a wrong parameter set which leads to Java not loading the charset properly.

Edit the file

/opt/Syncrify/run.sh

Uncomment (or delete) this line:

jre/bin/java -server -Xmx512m -cp $CP -DLoggingConfigFile=logconfig.xml com.synametrics.sradef.BootLoader &

and the following instead:

jre/bin/java -Dsun.jnu.encoding=UTF-8 -Dfile.encoding=UTF-8 -server -Xmx512m -cp $CP -DLoggingConfigFile=logconfig.xml com.synametrics.sradef.BootLoader &