Problem installing on Debian Jessie amd64

I’ve downloaded the .sh file provided on the website and have tried unsuccessfully to install the sdk.

I get the following message in my terminal whenever I run the “sh <file>” command:

Configuring the installer…
Searching for JVM on the system…
Preparing bundled JVM …
Extracting installation data…
Running the installer wizard…
No protocol specified

Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread “main”

Any help with this issue would be appreciated. Thank you.