How-To Run on Linux systems without access to /tmp

What Does This Article Cover?

This document outlines how to configure HighByte to run on Linux systems where access to the temporary directory is restricted.

Steps

  1. Choose where you want to store temporary files. This guide will use ./tmp to store temporary files in the runtime directory.
  2. Edit the start-linux.sh file to include this -Djava.io.tmpdir=tmp additional parameter just after java for example:
#!/bin/bash

pushd .
cd "$(dirname "$0")"
java -Dorg.sqlite.tmpdir=./tmp -Djava.io.tmpdir=tmp -XX:-UsePerfData \
    -cp "intelligencehub-runtime-3.1.jar:lib/*" com.highbyte.intelligencehub.runtime.Main start
popd
  1. Create the directory to use for temporary files. (eg. mkdir tmp)
  2. Start the Intelligence Hub and verify the log shows “Runtime Started”