updating java and ruby checks

Sidekick: @nathanhumbert