openmolecules.org

 
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:

#!/bin/bash
DWJAR="/data/opt/datawarrior"
# 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 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?

Norwid

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

Report message to a moderator

Previous Topic: Interest in a Mavenised form of the code?
Goto Forum:
  


Current Time: Fri May 03 21:29:17 CEST 2024

Total time taken to generate the page: 0.05102 seconds