Java legend has it that a big oak tree that grew outside the developer James Gosling’s window. It was eventually changed to Java by Sun’s marketing department when Sun lawyers found that there was already a computer company registered as Oak.