a practice to handle multi-thread on java
classpath = bin/
to compile and execute, you can use script file inside repository. named compileAndExecute.sh
$ ./compileAndExecute.sh co # countDownLatch example
$ ./compileAndExecute.sh cy # cyclicBarrier example
$ ./compileAndExecute.sh ex # executors example
you may modify script file to executable. kindly execute command below.
$ chmod 777 compileAndExecute.sh