javaldx: Could not find a Java Runtime Environment!
javaldx: Could not find a Java Runtime Environment!
Hello,
Where would it be most appropriate to post this question? N.B. I have read all the posts about this error, and unfortunately they are not sufficiently complete for me to use.
Fresh install of OpenOffice 4.1.1 on Ubuntu 14.04. Get the message "javaldx: Could not find a Java Runtime Environment!" even though I use java every day.
Thanks!
Where would it be most appropriate to post this question? N.B. I have read all the posts about this error, and unfortunately they are not sufficiently complete for me to use.
Fresh install of OpenOffice 4.1.1 on Ubuntu 14.04. Get the message "javaldx: Could not find a Java Runtime Environment!" even though I use java every day.
Thanks!
Last edited by MrProgrammer on Sun Dec 04, 2022 11:56 pm, edited 1 time in total.
OpenOffice 4.1.1 on Ubuntu 14.04
Re: where to post? javaldx: Could not find a Java Runtime Environment!
AOO needs 32-bit Java. See Troubleshooting Open/LibreOffice and Java
Edit: Sorry. That applies to Windows - I don't know about Ubuntu. |
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
- Hagar Delest
- Moderator
- Posts: 32657
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Where to post? javaldx: Could not find a Java Runtime Environment!
You still use an 8 years old OS?
Even at that time, LibreOffice may have been the default productivity suite bundled with Ubuntu.
In the Tools > Options > AOO > Advanced and type /usr/lib/jvm in the field after clicking the Add button, what do you see?
Note: do you really need JRE? It is needed for very specific features IIRC.
Even at that time, LibreOffice may have been the default productivity suite bundled with Ubuntu.
In the Tools > Options > AOO > Advanced and type /usr/lib/jvm in the field after clicking the Add button, what do you see?
Note: do you really need JRE? It is needed for very specific features IIRC.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: Where to post? javaldx: Could not find a Java Runtime Environment!
Hello,
(1)I do sufficiently "deep" programming that upgrading the OS inevitably causes extreme difficulties. And also, technology has progressed far enough that I can't find sufficient instructions for the upgrade - for example, I never succeeded in creating a bootable usb drive from which to install.
(2) Yes, I have been using LibreOffice for years, and it causes system crashes about once a week. I finally got tired of that and decided to try OpenOffice, but have been prevented (admittedly by my own ignorance) from successfully installing it.
(3) What "Tools" menu are you talking about [Tools > Options > AOO > Advanced ]? I can't open AOO.
(4) I probably don't need the jdk - I use no advanced features of word processors. Do you know how to tell the installation procedure to ignore the absence of the jdk?
Thanks!
(1)I do sufficiently "deep" programming that upgrading the OS inevitably causes extreme difficulties. And also, technology has progressed far enough that I can't find sufficient instructions for the upgrade - for example, I never succeeded in creating a bootable usb drive from which to install.
(2) Yes, I have been using LibreOffice for years, and it causes system crashes about once a week. I finally got tired of that and decided to try OpenOffice, but have been prevented (admittedly by my own ignorance) from successfully installing it.
(3) What "Tools" menu are you talking about [Tools > Options > AOO > Advanced ]? I can't open AOO.
(4) I probably don't need the jdk - I use no advanced features of word processors. Do you know how to tell the installation procedure to ignore the absence of the jdk?
Thanks!
OpenOffice 4.1.1 on Ubuntu 14.04
- Hagar Delest
- Moderator
- Posts: 32657
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: Where to post? javaldx: Could not find a Java Runtime Environment!
See if that helps: [Tutorial] Installing Apache OpenOffice on GNU/Linux.
Your first message is not clear and does not tell that you could not even open AOO.
It should not be a showstopper however.
Note: you may run gdebi instead of dpkg because a newer version may not do well with your old system.
Upgrading an old system may pose some risks now. The best bet IMHO being to make a dual boot to install a newer version on a separate partition and create one or more additional partitions for your data. Then you can test the new ubuntu flavor and either stick to it or go back to the former one.
You need the usb-disk-creator package to create a bootable USB key. But partitioning is delicate, make sure you've all your data backuped on an external drive if you go to it.
Your first message is not clear and does not tell that you could not even open AOO.
It should not be a showstopper however.
Note: you may run gdebi instead of dpkg because a newer version may not do well with your old system.
Upgrading an old system may pose some risks now. The best bet IMHO being to make a dual boot to install a newer version on a separate partition and create one or more additional partitions for your data. Then you can test the new ubuntu flavor and either stick to it or go back to the former one.
You need the usb-disk-creator package to create a bootable USB key. But partitioning is delicate, make sure you've all your data backuped on an external drive if you go to it.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: Where to post? javaldx: Could not find a Java Runtime Environment!
~/.openoffice/4/user/config/javasettings_Linux_X86_64.xml keeps the Java settings.
I doubt that OpenOffice is more stable than LibreOffice.
I doubt that OpenOffice is more stable than LibreOffice.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Volunteer
- Posts: 578
- Joined: Mon Oct 08, 2007 1:31 am
Re: Where to post? javaldx: Could not find a Java Runtime Environment!
Don’t. AOO is really more stable, especially on large files.
AOO 4.2.0 (of 2015) / LO 7.x / Win 7 / openSUSE Linux Leap 15.4 (64-bit)
Re: javaldx: Could not find a Java Runtime Environment!
Hello, does anyone know where documentation for the file ".openoff/4/user/config/javasettings_Linuz_86_64.xml" can be found? Documentation of any openoffice java settings config file would probably do. Finding this by googling is searching herein has been unproductive - what's found there is incomplete from the point of view of 'complete' "Documentation" of that config file.
OpenOffice 4.1.1 on Ubuntu 14.04
- Hagar Delest
- Moderator
- Posts: 32657
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: javaldx: Could not find a Java Runtime Environment!
See if that helps: https://help.libreoffice.org/7.1/en-US/ ... PAR=SHARED
On my xubuntu machine I don't have any JRE listed but the javasettings_Linux_X86_64.xml file in .../4/user/config says:
<location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
Which is rather strange since there is nothing in the relevant dialog. Perhaps it kept some path when I tried to add a JRE.
On my xubuntu machine I don't have any JRE listed but the javasettings_Linux_X86_64.xml file in .../4/user/config says:
<location>file:///usr/lib/jvm/java-11-openjdk-amd64</location>
Which is rather strange since there is nothing in the relevant dialog. Perhaps it kept some path when I tried to add a JRE.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: javaldx: Could not find a Java Runtime Environment!
Ha ha this is typical of my experience! My javasettings file looks completely different and I can't tell what to do with the "jrelocations" line (just because here's no path-like string that I could just replace):
<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="true"></enabled>
<userClassPath xsi:nil="true"></userClassPath>
<vmParameters xsi:nil="true"></vmParameters>
<jreLocations xsi:nil="true"></jreLocations>
<javaInfo xsi:nil="true"></javaInfo>
</java>
<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<enabled xsi:nil="true"></enabled>
<userClassPath xsi:nil="true"></userClassPath>
<vmParameters xsi:nil="true"></vmParameters>
<jreLocations xsi:nil="true"></jreLocations>
<javaInfo xsi:nil="true"></javaInfo>
</java>
OpenOffice 4.1.1 on Ubuntu 14.04
Re: javaldx: Could not find a Java Runtime Environment!
When I disable Java:
When I enable Java:
Code: Select all
<enabled xsi:nil="false">false</enabled>
Code: Select all
<enabled xsi:nil="false">true</enabled>
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice