Add explicit Java dependency