Verify if Java was Installed in Ubuntu 11.10

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.

2. Type:

$ 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.
Verify if Java was Installed in Ubuntu 11.10
Click to enlarge.

3. If it returns something like this:

Click to enlarge.

it means JDK was installed.

Hi! I'm Mike Dalisay, the co-founder of, a site that helps you build web applications with PHP and JavaScript. Need support? Comment below or contact [email protected]

I'm also passionate about technology and enjoy sharing my experience and learnings online. Connect with me on LinkedIn, Twitter, Facebook, and Instagram.