Ubuntu Quick Tip: After my JDK installation, I wanted to verify if it was really installed in my computer. Here’s how I verified it
1. Run your terminal.
$ sudo updatedb $ locate java
- It asked me to enter my password after typing sudo updatedb.
- updatedb means you are updating the database for locate or locating your app.
- locate finds files by name.
3. If it returns something like this:
it means JDK was installed.