Java and JavaScript are similar in the same way car and carpet are.
One's a pharmacist and the other's a drug dealer.
A knife has a point.
A carpet.
Out, damned spot! Out, I say!"*
So they aren't lying when they say they like Java.