test: use "JRUBY_VERSION" instead of "java"

https://github.com/test-unit/test-unit/commit/40f2e3186ecb2871d7df321a28fce6de3776ebcd#commitcomment-8395078

Suggested by Karol Bucek. Thanks!!!