Instead of Oracle java, use OpenJDK