Skip to content

Instantly share code, notes, and snippets.

@wh5a
Last active December 28, 2015 04:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wh5a/7440969 to your computer and use it in GitHub Desktop.
Save wh5a/7440969 to your computer and use it in GitHub Desktop.
Running Scala GUI program in a chroot
# Install required libraries and fonts
sudo pacman -S libcups fontconfig libxrender libxtst gtk2 ttf-dejavu
export DISPLAY=:1.0
cd simulations; sbt compile; scala -cp target/scala-2.10/classes simulations.gui.EpidemyDisplay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment