We all know of “cafebabe”, the magic number that identifies java executable file formats, and the discussions around its very existence which has shown up time and again on various groups including on comp.lang.java. However, what we don’t know is if this was indeed the reason for the very name “Java”? (Java was supposed to be “Oak” till the lawyers feared that there was a possible conflict). Were the baristas really so charming that they inspired the developers to name their very language in their honor? Or is it that 0xCAFEBABE sounded more decent than “oxAFABCAFE”, “oxCAFEFACE” or “oxABADCAFE” or cooler than “oxCoFFEE”. (Assuming that they were trying to get a 32 bit combination that sounded like a sensible word or phrase!). Also, Mac (thus Mac OSX in Apple) has the magic word “cafebabe” too. Does this mean that baristas have a much deeper impact on software development than we know of :)
BTW, what do you think will happen if a Mac fat file was given to a JVM to execute? Will it get confused because of the “oxCAFEBABE” ?