1. Run your terminal.
2. Type:
$ sudo updatedb
$ locate java
$ 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.
Click to enlarge. |
3. If it returns something like this:
Click to enlarge. |
For FREE programming tutorials, click the red button below and subscribe! :)
website