Skip to content

mpi-sws-rse/jmctutorial

Repository files navigation

Using the Java Model Checker

Pre-requisites

  • Java 17 or later
  • Gradle 8.4 or later

Installing JMC

JMC project should be downloaded from the GitHub repository and built as follows

In a different directory, clone the JMC repository:

git clone https://github.com/mpi-sws-rse/jmc.git
cd jmc
./gradlew clean
./gradlew :agent:publish
./gradlew :core:publish

This will build the JMC core and publish it to your local Maven repository.

(Note, ensure that you are using the same java and gradle versions for building JMC as you would use for this project.)

Running Counter Example

The repository contains a sample project that uses JMC to check concurrent counter implementation. (here) To run the example, follow these steps:

./gradlew clean
./gradlew --info test --tests "org.example.CounterTest.runTrustCounterTest"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •