This is a small library specifically made for Jibiki dictionary app designed to load the Kanjidic2 XML database into a PostgreSQL database.
Download the latest release under the releases tab then open the command line of your choice and run the following command
java -jar kanjidicparser.jar "YOUR DATABASE IP" "YOUR DATABASE SCHEMA" "YOUR USERNAME" "YOUR PASSWORD"
The rest will be automatically done, it will download, extract and insert into your database automagically.