Remove useless Java libraries