Run-REDUCE 533 B

123456789101112
  1. #! /bin/bash
  2. # Run Run-REDUCE asynchronously on Linux, etc.
  3. # This batch file and Run-REDUCE.jar must be in the same directory.
  4. # The Java bin directory must be in PATH and the environment
  5. # variable PATH_TO_FX must be set to the JavaFX lib directory.
  6. # Then Run-REDUCE.jar can be run from anywhere by running this batch file.
  7. # Any command-line arguments are passed on to Run-REDUCE.jar.
  8. java -Djdk.gtk.version=2 --module-path "${PATH_TO_FX//\"/}" --add-modules javafx.fxml,javafx.web \
  9. -jar "$(dirname $0)/Run-REDUCE.jar" "$@" &