not working

When I try to run under Ubuntu 16.10 with Java 8, I get a “command not found” error. I have rebooted since installing Java 8.

How are you running it? It should probably tell you the name of the command that wasn’t found, what does the full error say?

e.g. “bash: command not found” would mean you’re trying to run the command with no qualifying path, but “ java: command not found” means java might be installed but not on your PATH.