Bazel docs: Fix minor errors in Java tutorial
RELNOTES: None
PiperOrigin-RevId: 311098574
diff --git a/site/docs/tutorial/java.md b/site/docs/tutorial/java.md
index 9f43096..e8f748b 100644
--- a/site/docs/tutorial/java.md
+++ b/site/docs/tutorial/java.md
@@ -322,7 +322,6 @@
```
./bazel-bin/src/main/java/com/example/cmdline/runner
-
```
You've now modified the project to build as two packages, each containing one
@@ -386,9 +385,8 @@
`Greeting.class`. The `runner` script that Bazel generates adds `greeter.jar`
to the classpath, so if you leave it like this, it will run locally, but it
won't run standalone on another machine. Fortunately, the `java_binary` rule
-allows you to build a self-contained, deployable binary. To build it, add the
-`_deploy.jar` suffix to the file name when building `runner.jar`
-(<target-name>_deploy.jar):
+allows you to build a self-contained, deployable binary. To build it, append
+`_deploy.jar` to the target name:
```
bazel build //src/main/java/com/example/cmdline:runner_deploy.jar