Work on Java detection