Hi,
I'm trying to install ODS 12.6 on my ArchLinux box in my home directory under ~/.local
.
With the following call:
./developerstudio.sh --verbose --non-interactive --javahome "/usr/lib/jvm/default-runtime" --silent-logs-dir "/tmp/nbi" --installation-location "/home/someuser/.local"
I get this error message:
...
[2023-03-07 12:03:53]> Prepare Application arguments...
[2023-03-07 12:03:53]> ... resolving string : --non-interactive --silent-logs-dir /tmp/nbi --installation-location /tmp/ods-bin/pkg/ods-bin
[2023-03-07 12:03:53]> ... resolved string : --non-interactive --silent-logs-dir /tmp/nbi --installation-location /tmp/ods-bin/pkg/ods-bin
[2023-03-07 12:03:53]> Final application arguments : --non-interactive --silent-logs-dir /tmp/nbi --installation-location /tmp/ods-bin/pkg/ods-bin
[2023-03-07 12:03:53]> Running main jar...
Running the installer wizard...
[2023-03-07 12:03:53]> Running command : /usr/lib/jvm/java-8-jdk/bin/java -Xmx256m -Xms256m -Djava.io.tmpdir=/tmp -classpath /tmp/.nbi-2030350.tmp/bundle.jar org.netbeans.installer.Installer --non-interactive --silent-logs-dir /tmp/nbi --installation-location /tmp/ods-bin/pkg/ods-bin
[2023-03-07 12:03:53]> Running command : /usr/lib/jvm/java-8-jdk/bin/java -Xmx256m -Xms256m -Djava.io.tmpdir=/tmp -classpath /tmp/.nbi-2030350.tmp/bundle.jar org.netbeans.installer.Installer --non-interactive --silent-logs-dir /tmp/nbi --installation-location /tmp/ods-bin/pkg/ods-bin
Cannot create local directory: /root/.nbi
[2023-03-07 12:03:54]> ... java process finished with code 255
Errors were encountered during the installation.
[2023-03-07 12:03:54]> Removing directory /tmp/.nbi-2030350.tmp
[2023-03-07 12:03:54]> exitCode = 255
I had a look inside the developerstudio.sh
bundle and am surprised that the nbilog
is hardcoded to /root/.nbi
for Linux systems. I can change the path by setting ALT_ROOT_PATH
but I don't think this would have the desired effect on Linux (the flag for this is disabled anyway).
I really can't install ODS using root, is there some way to change the nbilog
path or simply skip this step?
Thanks,
Hans