openmolecules.org

 
Home » DataWarrior » Installation Issues » RHEL 7x - DW 6x - Error on open
Re: RHEL 7x - DW 6x - Error on open [message #2321 is a reply to message #2304] Tue, 08 October 2024 19:25 Go to previous message
thomas is currently offline  thomas
Messages: 702
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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sequoia 15.0 issues Mac (intel)- DataWarrior (6.1.0) won't open
Goto Forum:
  


Current Time: Sat Oct 26 01:58:39 CEST 2024

Total time taken to generate the page: 0.03136 seconds