Home » DataWarrior » Installation Issues » RHEL 7x - DW 6x - Error on open
RHEL 7x - DW 6x - Error on open [message #2170] Tue, 23 April 2024 00:28 Go to next message
dallis11 is currently offline  dallis11
Messages: 1
Registered: April 2024
Junior Member
I am trying to install dw on an NFS resource - under /data/opt/datawarrior as opposed to /opt/datawarrior locally.

I have changed the ref's in the install files yet on open is giving "data warrior application cannot be found - /opt/datawarrior/datawarrior_all.jar.

My datawarrior file:

# increase -Xms and -Xmx options, if you have plenty of memory
# insert "-Ddpifactor=1.5" (without quotes) after -X options to manually define UI element scaling to 150% for HiDPI monitors
# insert " -Ddatapath=/home/username/data/datawarrior:/home/username/da ta/mydata " (without quotes) after -X options to define commonly used data directories
/data/opt/datawarrior/jre/bin/java -Xms4096m -Xmx512g -splash:/data/opt/datawarrior/loading.png --add-exports java.base/jdk.internal.module=ALL-UNNAMED -Dfile.encoding=UTF-8 -cp $DWJAR/datawarriorlauncher.jar:$DWJAR/capka.jar org.openmolecules.datawarrior.launcher.DataWarriorLauncher $*

Seems to be still looking under /opt as opposed to /data/opt. Is there somewhere else it could be looking? Thanks!
Re: RHEL 7x - DW 6x - Error on open [message #2175 is a reply to message #2170] Tue, 23 April 2024 22:59 Go to previous messageGo to next message
nbehrnd is currently offline  nbehrnd
Messages: 211
Registered: June 2019
Senior Member
Hello dallis,

while I have no experience with calling DW via a NFS, I set an alias in my `~/.bashrc` file, i.e.

alias dw="/opt/datawarrior/datawarrior"

to launch the program equally from the CLI by a brief `dw` (in Linux Debian). Could a similar link -- adjusted to the address of the executable in your setup -- work?


[Updated on: Tue, 23 April 2024 22:59]

Report message to a moderator

Re: RHEL 7x - DW 6x - Error on open [message #2189 is a reply to message #2175] Sun, 12 May 2024 12:02 Go to previous message
thomas is currently offline  thomas
Messages: 679
Registered: June 2014
Senior Member
it is difficult to reliably figure out in a cross-platform way the file path of running jar within the running byte code. Therefore, DataWarrior uses hard coded installer paths, which should not be changed, because not only the datawarrior_all.jar and its automatic updates, but also all exmaple files, macros and plugins rely on this path.

I didn't try, but possibly a link at /opt/datawarrior that points to /data/opt/datawarrior could work?!
Previous Topic: Newest Version Install
Next Topic: Allipheron Hyperspace Ad?
Goto Forum:

Current Time: Mon Jul 22 01:28:53 CEST 2024

Total time taken to generate the page: 0.03017 seconds