jgarci40 / INF-122-Final-Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tile-Matching Game Environment (TMGE)

Instructions on executing the game jar file

Download Runnable Jar from git repo:
project.jar

Instructions for running the jar file on WindowsOS

  1. Please note the jar file was built using java version 11
  2. On windows, open the cmd terminal.
  3. Navigate to project.jar working directory
  4. Type the command:
  5. java -jar --module-path $PATH_TO_FX$ --add-modules javafx.controls,javafx.graphics,javafx.fxml,javafx.media project.jar
  6. This assumes the user has set up the System Environment Variable PATH_TO_FX to point to a javafx sdk version 11 lib with javafx modules.
  7. The user can also replace $PATH_TO_FX$ with the absolute path to the javafx sdk lib such as: "C:\Program Files\Java\javafx-sdk-11.0.2\lib"
  8. Hit Enter and the Game Hub will be displayed

Instructions for running the jar file on MacOS

  1. Please note the jar file was built using java version 11
  2. Download http://gluonhq.com/download/javafx-11-0-2-sdk-mac
  3. Unzip “openjfx-11.0.2_osx-x64_bin-sdk.zip” and “javafx-sdk-11.0.2” folder appears.
  4. On Mac, open the terminal.
  5. Navigate to project.jar working directory.
  6. Type the command:
  7. java -jar --module-path /Users/XXXXXX/Downloads/javafx-sdk-11.0.2/lib --add-modules javafx.controls,javafx.graphics,javafx.fxml,javafx.media project.jar
  8. Make sure the path is correct for both project.jar and javafx libraries

About


Languages

Language:Java 99.6%Language:CSS 0.4%