Ok, to compile this, you need jdk1.3 (1.2?), with your classpath etc all set up correctly.  Then, you need to set your classpath to include jakarta-regexp-1.1.jar

To do this on windows, do:
set CLASSPATH=%CLASSPATH%;jakarta-regexp-1.1.jar

In bash/sh on a unix/linux/freebsd/whatever system, do:
export CLASSPATH=$CLASSPATH:jakarta-regexp-1.1.jar

Then just do javac jlogan.java, and that should compile it.