Re: RHEL 7x - DW 6x - Error on open [message #2321 is a reply to message #2304] |
Tue, 08 October 2024 19:25 |
thomas
Messages: 715 Registered: June 2014
|
Senior Member |
|
|
It should work to set a Java system property 'rootpath' when launching DataWarrior, e.g. put the following into the bash file that is supposed to launch DataWarrior:
DWJAR="/somepath/datawarrior"
/someJRE21withFX/bin/java -Xms4096m -Xmx512g -Drootpath=$DWJAR -splash:$DWJAR/loading.png --add-exports java.base/jdk.internal.module=ALL-UNNAMED -Dfile.encoding=UTF-8 -cp $DWJAR/datawarrior.jar:$DWJAR/capka.jar com.actelion.research.datawarrior.DataWarrior $*
Note: this way you bypass the DataWarrior launcher and directly start the datawarrior application. The launcher does nothing else than finding the newest datawarrior jar file within an 'update' folder and then launching it. Therefore, you probably want to update once in a while the datawarrior jar file manually. You can check for the newest version at https://dwversion.openmolecules.org/?what=properties. From the information you get you can construct an URL to download the newest available update, currently https://openmolecules.org/datawarrior/update/datawarrior_v06 .02.05.jar. After downloading it you need to rename it to 'datawarrior.jar', put it into 'somepath/datawarrior'. Your bash script will then launch the updated jar next time.
|
|
|