Skip to content

Instantly share code, notes, and snippets.

View alexsurelee's full-sized avatar

Alexander Lee alexsurelee

  • New Zealand
  • 23:12 (UTC +12:00)
View GitHub Profile
@alexsurelee
alexsurelee / 324-run-script.md
Last active September 5, 2019 03:43
How to run the ModelChecker tool for SWEN324 where you have a newer version of Java installed.

Running ModelChecker on Mac

If, like me, you've got a newer version of Java installed on your system and couldn't run ModelChecker.jar without issues, follow this cheeky li'l guide to get set up.

Download Java 1.8

Firstly, you're gonna need to get Java 1.8 if you don't already. This can be found here. Unfortunately, you need to make an Oracle account to download it :(

After installing, run /usr/libexec/java_home -V - this should list all of the versions you have installed. Check that there is 1.8.0_221, x86-64: "Java SE 8" listed.

Once you've got that sussed, go into your SWEN324HandBuild folder.