In this case it's not meant to be
a parameter ... it's the OR in bash.
In other words, that thing checks
for read-permissions of those three
executables, and fails if you don't
have read-rights for either of them.
Which means that your assumption
that you need the jdk rather than the
jre is very likely to be right :}