Offroad doesn't start

Just commented on this today Which JRE to select? - #7 by 6x12
Run this and it works:

sudo pacman -S jre11-openjdk jre11-openjdk-headless
PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH" offroad

EDIT: This will only start Offroad onc and create the .OffRoad folder in your home directory. As @koshikas in his post below pointed out, to get a permanent solution we need to create an executable startup.sh script that references the correct java version, in my case:

#!/bin/sh

export PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH"
exec /usr/bin/offroad "$@"

and edit the Menu entry for OffRoad by pointing at startup.sh.

1 Like