jBPM installer makes this easy - you have to jar up your workitem handler implementations and place the jar(s) in the $installer/dependencies directory, then run
ant clean.demo
ant install.demo.noeclipse (or ant install.demo)
ant start.demo.noeclipse (or ant start.demo)
and it will be correctly placed on the classpath for you.
HTH