build: allow Oracle JDK on Linux

Some test cases resulted in a completely fine build.

There are some people believing Oracle JDK is still better than OpenJDK,
so allow Oracle JDK on Linux as well.

Signed-off-by: arter97 <qkrwngud825@gmail.com>