[SOLVED] libreoffice-6.1.0-x86_64-1alien.txz Could not find a Java Runtime Environment
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
libreoffice-6.1.0-x86_64-1alien.txz Could not find a Java Runtime Environment
I am running current64. I installed the libreoffice-6.1.0-x86_64-1alien.txz pkg. When i run libreoffice --writer i get the following message. Could not find a Java Runtime Environment. I then installed the openjkd-8u171_b11-x86_64-1alien.txz package.
I am still unable to open the libreoffice. Same message. Could not find a Java Runtime Environment. I'm not sure how to diagnose this although I'm pretty sure this is related to multilib.
Did you set the JAVADIR environment variable?
I don't know AlienBob's packages, but it may be they do not automatically set this variable. It should be set to the base dir of the Java runtime tree.
You should either set it globally (i.e. in /etc/profile.d/java.*sh) or in your login scripts. In both cases you must logout and login again for the setting to become active.
This looks like a new issue. What llvm version do you have installed? Maybe your llvm version is mismatched with the version Alien Bob used to compile libreoffice?
Can someone point me in the direction of verifying my build environment is correct? I have tried to compile 2 different sbopkgs and both of them failed. I tried llvm and abiword. I think something is wrong.
Actually the Libreoffice sbopkg didn't install correctly. I got a compile error.
Code:
checking whether to use specific JVM search path at runtime... no
checking for jakarta-ant... no
checking for ant... no
checking for ant.sh... no
checking for ant.bat... no
checking for ant.cmd... no
configure: error: Ant not found - Make sure it's in the path or use --with-ant-home
I think i need to do a complete reload of my system. not sure what is going on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.