Run custom scripts within Java/Jruby environment.
This completes https://squish.ish.com.au/tasks/17924.