Find Java

In the case of Java Ubuntu (and Debian based releases) installs Java into /usr/lib/jvm so navigating to it, cd /usr/lib/jvm then ls will give you your folder path. There should be one with a long version than a short one like this...