...
Close and re-open a session and check your environment with a printenv command.
In this tutorial we are using the debian layout who uses default-java. Tomcat is known to use it and as such we ensure that our system is tuned  accordingly. That way our systems will always shows a default-java.
Verification
Make sure something silly didn't happen and your alternatives were set to Oracle Java:
...