add jdk to the path if using JRuby