Skip to content

Commit

Permalink
Updated for version 0.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dameikle committed Apr 18, 2022
1 parent d392d3c commit 8fa57e4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "javalocate"
version = "0.5.1"
version = "0.6.0"
description = "Command line utility to find JVM versions on macOS, Linux and Windows"
license = "Apache-2.0"
repository = "https://github.com/dameikle/javalocate"
Expand Down
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,26 @@ can occur on older JVMs.

## Custom Locations

You can add your own locations to search in using the Custom JVM Location options. For example, if you manually install
JVMs into the the _/opt/jvms_ directory you can configure it to be search using:
You can add your own locations to search in using the Custom JVM Location options. This can be useful
if you maintain your own manually installed JVM collections.

For example, if you manually install JVMs into the the _/opt/jvms_ directory you can configure it to
be searched using the _--register-location_ (-r) command:
```bash
javalocate -r /opt/jvms
javalocate --register-location /opt/jvms
```

If you want to then remove that location, you can use the _--remove-location_ (-x) command:
```bash
javalocate -x /opt/jvms
javalocate --remove-location /opt/jvms
```

You can list the currently registered location using the _--display-locations_ (-l) command:
```bash
javalocate -l
javalocate --display-locations
```

## Tips and Tricks
Expand Down

0 comments on commit 8fa57e4

Please sign in to comment.