Java only MySQL Backup Library

I am looking for Java library that I can embed into a web application for MySQL backup.

The first question would be why not use the native tool mysqldump - but these may not be available on the path to the web application both on Windows and Linux, so I am looking at alternatives.

A crazy hacky one would be to embed the client tools into the web app but I am hoping not to have to do so as that would increase the complexity of the backup operation