Java had nothing to do with coffee; nor Python snakes; nor Rust oxidation. The computing/IT industry just picks names for stuff that doesn't have much to do with anything.
I doubt anybody would care if they'd named it after some coffee sort or a snake, where nothing of the above applies. There are not many Café games, for example.