diff --git a/java/client/src/org/openqa/selenium/tools/javadoc/JavadocJarMaker.java b/java/client/src/org/openqa/selenium/tools/javadoc/JavadocJarMaker.java
index <HASH>..<HASH> 100644
--- a/java/client/src/org/openqa/selenium/tools/javadoc/JavadocJarMaker.java
+++ b/java/client/src/org/openqa/selenium/tools/javadoc/JavadocJarMaker.java
@@ -169,7 +169,7 @@ public class JavadocJarMaker {
             .map(Path::toFile)
             .forEach(File::delete);
         } catch (IOException e) {
-          throw new UncheckedIOException(e);
+          e.printStackTrace();
         }
       });
     }
[java] Printing stack trace to console instead of trowing in finally block

It's a sample executable utility so printing to the console is acceptable.
Throwing from a finally block hides the original exception if there were one.