Idea of Java Icon
This particular icon features black lines that seem to curve around each other. Each curve is different in shape and it resembles a coffee cup with steam.
This page shows the different variations of the Java from an Icons8 icon pack. Feel free to resize and recolor the icon, and then download the icon in PNG format for free.