Remove Java dependency