Solves issue with java

The issue was that when running, it throwed this error:
/usr/bin/java: /usr/bin/java: cannot execute binary file