Please read before you download
DownloadjCUTE (CUTE for Java) can be downloaded here.Requirementwindows 2000, XP with cygwin (optional) or LinuxJava 1.4 or above from http://java.sun.com/ bash shell (optional) Release Notes1.0.1Released on 29th June, 2006.
First release of jCUTE InstallationMake sure that java and javac is in the PATH. Untar the distribution in a directory whose path has no space. For example, do not untar the distribution in C:\Program Files\; the path of this directory has a space. Try untaring it in C:\ .tar zxvf jcute.tar.gz cd jcute ./setupYou can run setup from a bash shell only. This is possible if you are using a linux desktop or a cygwin shell. Running setup provides you the command line scripts jcute and jcutec. If you have run setup, then the case studies can be executed by running ./runtests ./jpf_case_studies ./dtestsIf you are only interested in the graphical user interface, then simply run jcutegui.bat in windows and jcutegui in linux as follows: .\jcutegui.bator run jcuteguiThe src/ directory contains a number of examples. See the script runtests to know how to run these examples. Graphical User InterfaceIn the Graphical user Interface, try selecting the directory src/ and the Java program tests/SwitchTest.java. Then "Compile" and "(Re)start" for testing. Click on a Path # to get Input and Trace log. To learn more about the graphical user interface, check out a flash demo here.Command line Usagejcutec is the instrumentor plus compiler script for concurrent Java programs under test.jcute is the script to concolically test the executable of the instrumented program under test.
usage: ./jcutec source-directory main-java-file main-java-class [-concurrent|-sequential]
where source-directory is the directory containing the sources of the Java program to be tested
main-java-file is the name of the Java source file containing the main function
main-java-class is the name of the class of the Java source file containing the main function
For example, to compile and instrument the Demo example in the directory src/tests in the package tests
./jcutec src/ src/tests/BSTree.java tests.BSTree -sequential usage: ./jcute class [-i iterations] [-?] [-d depth=0] [-s seed] [-t debug_level=0] [-m mode=0] [-r] [-q] [-p] [-a] [-j] [-v] [-n number] class is the name of the class corresponding to the Java source file containing the main function -help,-? displays help information -dFor example, to test the Demo example run ./jcute tests.BSTreeTo see the statistics about branch coverage and running time, execute java -classpath jcute.jar cute.concolic.BranchCoverage Technical SupportContact Koushik Sen (ksen@cs.uiuc.edu)
|