Ask Your Question

Libreoffice base and java functions

asked 2018-07-09 00:43:54 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

i had made a database , libre office base , with jre java 6. It works ok. I was wondering if there is any way to convert this to work with latest java jre,
at this time is released java Version 8 Update 171

if i select the java version 8 the base crashed

is there any conflict about table structures , or i should write the code from the scratch?

i m using Ubuntu 16.04.4 LTS (Xenial Xerus) 32bit, with base

any idea ??

edit retag flag offensive close merge delete


Hello @warningdangerous,

Please do not select Post as wiki when posting a question. It helps no one.

Ratslinger gravatar imageRatslinger ( 2018-07-09 00:53:08 +0100 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-07-09 01:00:00 +0100

Ratslinger gravatar image

updated 2018-07-09 01:50:51 +0100


To be clear, the latest version of Java is 10. This works on Linux Mint 18.3 and others. Have seen many problems with this using various Windows OS products. Seems JRE 8u172 works (see answers & comments in this post -> Cannot open BASE files.. Mac needs JDK.

You do not state your OS nor the LO version you are using. Basic information is always essential to help diagnose problems.


Have not got much on 32-bit Linux systems. This post may help -> How do I get Base to work under Lubuntu 16.04?. Please review all that is there. Also, LO v5.1.6.2 is very old. Consider upgrading.

edit flag offensive delete link more


Mike Kaganski gravatar imageMike Kaganski ( 2018-07-09 01:56:18 +0100 )edit

@Mike Kaganski TY - had not seen. Workaround seems to be same as link in edited answer. Down side it seems to affect v5.2.7.2 and newer & this post refers to v5.1.6.2

Ratslinger gravatar imageRatslinger ( 2018-07-09 02:19:16 +0100 )edit

Well - there's a backtrace for there also; and I believe that that bug is not specific to any LO version actually, because it's about Java interaction with kernels, when running specific methods, that were used in initialization of Java in LO since ~forever :-)

And yes - your last link is exactly for that, so your reply covers it all; I just added a big link.

Mike Kaganski gravatar imageMike Kaganski ( 2018-07-09 03:14:24 +0100 )edit

Thanks. Always appreciate the info & your helpful explanations.

Ratslinger gravatar imageRatslinger ( 2018-07-09 03:19:39 +0100 )edit

ok, lets say that there is a bug i have my ububtu system fully updated and thru ubuntu software update center this is the latest LO version. Do you know if there are any LibreOffice Repositories to add ?

warningdangerous gravatar imagewarningdangerous ( 2018-07-09 08:58:56 +0100 )edit

There is a bug in Java on 32-bit kernels, that Java developers refuse to fix, especially they have dumped 32-bit support, as well as many Linux distros. What do you expect from any LibreOffice repo, which doesn't have anything to do with neither Java nor kernel nor their interaction? The link above, which we discussed above, does contain the workaround to use...

Mike Kaganski gravatar imageMike Kaganski ( 2018-07-09 09:09:48 +0100 )edit

thats means the end of 32 bit ... i will try a format and 64 bit installation , i hope to be lucky....

i tried several lunux distros x64. Yes, the java seems works, but i had a lot of visual basic code errors. My code has no errors. I tried win7 x32bit and worked!! With Wndows my probems are gone...

So there is a small bug to linux kernels 64bit also....

warningdangerous gravatar imagewarningdangerous ( 2018-07-09 09:23:43 +0100 )edit

what kind of "visual basic code errors"? was it that it wasn't able to CreateObject() or something that depends on Windows-only functionality? anyway - feel free to file a bug report on this different problem.

Mike Kaganski gravatar imageMike Kaganski ( 2018-07-10 09:13:03 +0100 )edit
warningdangerous gravatar imagewarningdangerous ( 2018-07-10 11:33:17 +0100 )edit

answered 2018-07-10 18:30:20 +0100

warningdangerous gravatar image

I tried win7 x32bit and worked!! With Windows my probems are gone...

the code is right and it is tested, is working at Windows7 at this moment ... (Solved)

but at linux the same odb (LibreOffice Base file) , apears strange errors of Basic Runtime Error ... image description image description

Anyway , i solve this problem by changing Operating system platform ... its somethig about java and linux kernels

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-07-09 00:43:54 +0100

Seen: 320 times

Last updated: Jul 10 '18