I don’t know why apple made this Java thing so difficult: when it comes to Java, it doesn’t ‘just work’… Here is a tip on how to set the path variable too (in case you forgot)