There might be some justification for comparing any one particular thing to the worst possible particular thing if those things have something in common. The only feature the two things you picked have in common is the word 'java'.
Appeal to expertise.
Appeal to authority is a falacy when the authority is not an expert in the requisite domain.
eg: we don't care what a policeman thinks about astrophysics, we do care what the astrophysicist says.