You do not have to install any software.
Copy your Base document into a dedicated directory.
Create a subdirectory “driver”.
Download HSQL. It’s a zip archive.
Extract the file /hsqldb-2.4.1/hsqldb/lib/hsqldb.jar from the archive to the “driver” subdirectory.
Install my macro.
Now open the Base document in the database directory and run my macro.
If you are not even allowed to install macros, you can still do the trick manually within a few minutes.
Well, hsqldb.jar file is still a Java library, but you only need that single library instead of the hsqldb.jar that is shipped with LIbreOffice.