Added handle_JavaWithRunner function.