Ask Your Question

How to connect my Java Program with LibreOffice Base

asked 2020-07-07 16:09:38 +0100

SwissJeez gravatar image

updated 2020-07-08 10:14:56 +0100

Hello everyone

I'm pretty new to programming and I'm currently working on a family tree program. Im using LibreOffice base so I can save all the data on my PC and not online. I'm using java for my UI. Howevery I'm struggling to access the db from my java program.

Any help will be greatly appreciated.

Edit: Since not many have done this and I'm cerntainly not the first to do it, I decided to import the LibreOffice Base into the LibreOffice Calc and save it as csv. I'm now working with the csv-files as input to my program, which works great since it's only so little data.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2020-07-07 17:57:52 +0100

Ratslinger gravatar image


There are not a lot of examples for LO using Java and less with Base.

The AOO wiki has probably the most in the way of samples. You can also download the entire document.

See -> Database Access

edit flag offensive delete link more

answered 2020-07-07 17:28:19 +0100

nomen gravatar image

I would recommend using the software called GRAMPS. Download from Install locally on your PC, no online storage. No sense in re-inventing the wheel. It works well for me.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-07-07 16:09:38 +0100

Seen: 241 times

Last updated: Jul 08 '20