What
The server.sh is duplicating the java parameters unnecessarily. There's also an environment variable which is not sanitised and could lead to service misconfiguration.
I would suggest to review the other scripts, console.sh and restore.sh in order to keep it coherent.