What is CafeBabe?

Davanum Srinivas

0xCAFEBABE are the first four bytes of any Java .class file and they're collectively called the magic number. They were added to the file format so that a .class could be instantly recognized by it's first few bytes. If these bytes are tampered with, then no JVM will recognize the file as a Java applet/application and the program will be useless.