Fixed java detection >.>