Deleted Java but it still shows up in the terminal
I have removed the plugin from finder, but when i type in "Java -version" in the terminal it still shows:
java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
How can I delete the Java 9.0.4 completely?