LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   jre needed but present (https://www.linuxquestions.org/questions/linux-software-2/jre-needed-but-present-4175593543/)

wiliamvw 11-14-2016 05:33 PM

jre needed but present
 
Have app which requires the java runtime environment, which is installed, but keep getting message when try to run the app that the jre is lacking. What options do I have?

Jjanel 11-14-2016 11:17 PM

This? (add to PATH) If not, post details (as in that LQ Thread)
Best wishes... (tell us what [SOLVED] it!) p.s. /etc/profile note

TB0ne 11-15-2016 07:37 AM

Quote:

Originally Posted by wiliamvw (Post 5630605)
Have app which requires the java runtime environment, which is installed, but keep getting message when try to run the app that the jre is lacking. What options do I have?

If you told us what this app is, what version/distro of Linux you're on, and what the exact message(s)/error(s) are, we can help. But we can't guess...read the "Question Guidelines" link in my posting signature. You've been here since 2008, so you should know we can't help if you don't provide any useful details.

wiliamvw 11-15-2016 01:57 PM

update
 
To answer as much as I know [or, for the "SOLVED", remember -- not much, was pretty complicated] the OS for this is suse leap, and involves Apache openoffice 4.1 and according to install summary, and the list of "office" options, and the suggested app to open when click an odt file, all say openoffice there, but when click it get bouncing icon and then nothing: every once in a while will get message that need java [not specific about it].
Upon running "java -version" get: java version (actually is jre) 1.8.0_112 as well as
Java (TM) SE Runtime Environment (build 1.8.0_112-b15) as well as
Java HotSpot (TM) 64-bit server VM (build 25.112-b15 mixed media)
What isn't listed even though the installer has it listed as installed is: "jdk1.8.0_112" which just recently installed as a new try [also numerous other java apps listed by YAST installer as installed].
On another OS [uberstudent] solved openoffice install hangup by downloading the windows version and then using Wine -- worked perfectly, but seems like a knock on linux if windows easier to install in a linux system than a linux app of same nature, so trying best to get it working using linux tools.
Thanks for attention.

TB0ne 11-15-2016 03:03 PM

Quote:

Originally Posted by wiliamvw (Post 5630967)
To answer as much as I know [or, for the "SOLVED", remember -- not much, was pretty complicated] the OS for this is suse leap, and involves Apache openoffice 4.1 and according to install summary, and the list of "office" options, and the suggested app to open when click an odt file, all say openoffice there, but when click it get bouncing icon and then nothing: every once in a while will get message that need java [not specific about it].
Upon running "java -version" get: java version (actually is jre) 1.8.0_112 as well as
Java (TM) SE Runtime Environment (build 1.8.0_112-b15) as well as
Java HotSpot (TM) 64-bit server VM (build 25.112-b15 mixed media)
What isn't listed even though the installer has it listed as installed is: "jdk1.8.0_112" which just recently installed as a new try [also numerous other java apps listed by YAST installer as installed].
On another OS [uberstudent] solved openoffice install hangup by downloading the windows version and then using Wine -- worked perfectly, but seems like a knock on linux if windows easier to install in a linux system than a linux app of same nature, so trying best to get it working using linux tools.
Thanks for attention.

You don't say how you installed it, but you should have just had to download the RPM file for your architecture ( http://www.openoffice.org/download/) then typed in "sudo zypper install <rpm file name>", and pressed ENTER. It resolves dependencies for you, and installs the software. That's it...nothing complicated at all. Certainly doesn't need wine or windows in any way.

If you're just looking for an office suite, Libreoffice is already in the suse repositories...you can either run yast and search for libreoffice through the GUI, or type in "sudo zypper search libreoffice" or (even easier), click the "1 click install" button: https://software.opensuse.org/package/libreoffice

wiliamvw 11-16-2016 03:40 PM

update
 
OK, gave one last try before waiting to install leap 42.2.
Deleted all vestiges of openoffice.
Downloaded the appropriate file from openoffice [Apache_OpenOffice_4.1.3_Linux_x86-64_install-rpm_en-US.tar.gz]; then tried 'sudo zypper install <various> [the full file name as in brackets, then using full path with variations [/home/wiliam/Downloads/ as /home/root etc. as every conceivable variation of all these]; kept getting that couldn't be found and so 'nothing to do'.
Some linkage is defective or missing. Hoping 42.2 will fix it.

wiliamvw 11-30-2016 03:38 PM

update
 
Well, 42.2 didn't fix it either, and tried everything possible [hard to believe this is the "professional" version].
But don't have to forego using suse, because Windows came to the rescue [how sad is that?] and was able to work around the Leap deficiency by installing the windows version of openoffice and then opening with Wine. Works great, but embarrassing work-around.

ondoho 12-03-2016 04:20 AM

...yet millions use open-/libreoffice without problems on various linux distros.
PEBKAC?

TB0ne 12-03-2016 09:58 AM

Quote:

Originally Posted by wiliamvw (Post 5636412)
Well, 42.2 didn't fix it either, and tried everything possible [hard to believe this is the "professional" version].
But don't have to forego using suse, because Windows came to the rescue [how sad is that?] and was able to work around the Leap deficiency by installing the windows version of openoffice and then opening with Wine. Works great, but embarrassing work-around.

Sorry, but I'm using openSUSE 13.2, LEAP, the latest Fedora, CentOS 6.x and Mint in my environment, and Libreoffice works perfectly on ALL of them. And again, did you try just visiting the openSUSE software page, and clicking on the "1-Click install" button????

https://software.opensuse.org/package/libreoffice

...ALL dependencies and necessary parts, downloaded verified and installed. Why is this a problem?

wiliamvw 12-06-2016 11:16 AM

Leap !*#
 
As said several times, have tried everything from all Yast software options to direct to suse software center. To click on anything, it first has to be present -- openoffice is NOT. Myself and many others have long-running projects that were started in openoffice and require it to function properly without any "surprises".
It seems quite obvious that the non-opensource people coding suse [that means allowing "choices" in applications] have made a concerted effort to block the use of openoffice. On suse 13.1 and 13.2 [which I also use and find superior to Leap] while you have to break openoffice down into about 40 files and install them one-by-one in a given order, at least you can get it installed. Apparently appalled that many people were doing just that, for Leap they have made even that option non-performing [installs, but won't function].
If you really think that you can "1-click" install openoffice then I suggest that you try doing so on your own computer [can always delete it later], and post the results -- would be delighted if you found a way of doing so.

TB0ne 12-06-2016 12:29 PM

Quote:

Originally Posted by wiliamvw (Post 5638696)
As said several times, have tried everything from all Yast software options to direct to suse software center. To click on anything, it first has to be present -- openoffice is NOT. Myself and many others have long-running projects that were started in openoffice and require it to function properly without any "surprises".
It seems quite obvious that the non-opensource people coding suse [that means allowing "choices" in applications] have made a concerted effort to block the use of openoffice. On suse 13.1 and 13.2 [which I also use and find superior to Leap] while you have to break openoffice down into about 40 files and install them one-by-one in a given order, at least you can get it installed. Apparently appalled that many people were doing just that, for Leap they have made even that option non-performing [installs, but won't function].
If you really think that you can "1-click" install openoffice then I suggest that you try doing so on your own computer [can always delete it later], and post the results -- would be delighted if you found a way of doing so.

Yes, not only do I "really think" I can do that, I have, and that's how I'm running Libreoffice 5 on my Tumbleweed box right this second. You don't "download 40 files"...zypper resolves all the dependencies for you, installs/updates them, and gets the package.

There is either something fundamentally wrong with your system, or your installation method. Sorry.

wpeckham 12-06-2016 12:39 PM

Quote:

Originally Posted by TB0ne (Post 5638746)
Yes, not only do I "really think" I can do that, I have, and that's how I'm running Libreoffice 5 on my Tumbleweed box right this second. You don't "download 40 files"...zypper resolves all the dependencies for you, installs/updates them, and gets the package.

There is either something fundamentally wrong with your system, or your installation method. Sorry.

I do not always agree with TB0ne, but this is spot on. If everyone else is running the package without problem on the same AND different systems but it will not run on yours, the package is not the problem.
Something is wrong with your system OR you have used an unsupported installation technique that has resulted in a non-working environment for the package.

I suspect it is fixable, almost everything IS. The question now is "Is it worth fixing?"! You might be better off backing up goodies, installing from scratch, and installing your package from the supported repositories (making sure NOT to bypass the supported techniques and packages) so that nothing subverts the distribution maintainers intent to provide the parts of a stable, reliable, capable working system.

jkirchner 12-06-2016 03:17 PM

Just of note, I notice williamvw (the OP) consistently refers to Open Office and not to LibreOffice which TB0ne referred to. Perhaps this is part of the disconnect?

@ williamvw: One option is to use LibreOffice, a fork of Open Office? I understand you may have started something in open office but it seems like it should work. Also, from what I see on the apache open office site, it should be download the rpom and use zypper, at least as much as I understand openSuse (have not used it in a few years).

This link on openSuse is for OpenOffice

TB0ne 12-06-2016 03:50 PM

Quote:

Originally Posted by jkirchner (Post 5638838)
Just of note, I notice williamvw (the OP) consistently refers to Open Office and not to LibreOffice which TB0ne referred to. Perhaps this is part of the disconnect?

@ williamvw: One option is to use LibreOffice, a fork of Open Office? I understand you may have started something in open office but it seems like it should work. Also, from what I see on the apache open office site, it should be download the rpom and use zypper, at least as much as I understand openSuse (have not used it in a few years).

This link on openSuse is for OpenOffice

I think the terms may be PART of the problem, but Libreoffice has been mentioned to the OP many times thus far. That said, if the OP had typed in "zypper install <openoffice RPM file name>", then the zypper utility would have solved and installed dependencies automatically. Either the OP ignored that, or didn't do it...they allude to installing 40 packages manually.

In short, the suggested methods were either ignored or incorrectly followed. Hints to "concerted efforts" by a 'them" to break openoffice don't bode well either. :)

wiliamvw 12-08-2016 04:09 PM

update
 
The option "zypper install openoffice with appropriate rpm data" was used and didn't function [among many other time wasting trials]. I notice you have still not stated that you tried to so install openoffice [NOT libreoffice] and succeeded. Would, again, be delighted to see that you succeeded and list what you actually did. Numerous other users of openoffice have posted that libreoffice did not function for them properly on old openoffice material. This is not some whim.

TB0ne 12-08-2016 04:43 PM

Quote:

Originally Posted by wiliamvw (Post 5639665)
The option "zypper install openoffice with appropriate rpm data" was used and didn't function [among many other time wasting trials].

And we're all VERY sorry to have wasted your time trying to help you. It certainly won't happen again.
Quote:

I notice you have still not stated that you tried to so install openoffice [NOT libreoffice] and succeeded. Would, again, be delighted to see that you succeeded and list what you actually did.
"sudo zypper install <openoffice rpm file name>". That's it, as said several times. AGAIN, if it doesn't work for you, then there is something fundamentally wrong with your system. And the command you typed in above isn't anything that could be used, so if that's what you ran, I can see why it didn't work.
Quote:

Numerous other users of openoffice have posted that libreoffice did not function for them properly on old openoffice material. This is not some whim.
What obviously IS a whim is whatever data you have, isn't moving forward, and you're trying to install something that's not currently getting support from the various distros, due to licensing issues/disagreements. From their own forum:
https://forum.openoffice.org/en/foru...hp?f=9&t=82248

**BOTH** of them save into open document format. OPENING old files isn't a problem at all...so your old data comes right into the updated schemas. And when you SAVE them, it saves an updated document so you can use it going forward. Libreoffice is more heavily developed, and based on the IDENTICAL code base to openoffice. Use whatever you want, but don't complain when folks are trying to help you. Or perhaps we are part of the "they" that are part of this concerted effort to break openoffice too?

jayjwa 12-08-2016 07:21 PM

Something is probably mis-configured: you could grep for java in any and all config files from the software you're using. Is 'java' in the PATH? Is JAVA_HOME set correctly to point to where java is? Sometimes running your app with 'strace app' can show you where it's looking for stuff. It can work; you just have to have patience.

wiliamvw 12-15-2016 12:47 PM

update
 
Thanks jayjwa for your input, but among the many hours that I've devoted to this have tried that and many more options. Since I can now get openoffice using wine on the windows version, I just can't keep spending time on it. Once the wine option worked, I kept trying just to see if there was really something that I overlooked, since I've used suse since it just about first came out [with 10.1] and wanted to believe the "coincidences" of blocked openoffice, were just that [slack easily downloads and installs and opens openoffice almost instantly to have choice alongside caligra, and similar results with other OSes, but while suse still readily fully installed and operated openoffice even after it made libreoffice official choice, with later releases it first became necessary to break it into many separate files before installing, and then with Leap even that has stopped working (it "installs", but something blocks its functioning)].I'll still use the 13.2 32-bit and even Leap occasionally, but am becoming disenchanted. I suppose if I tried some script writing and other terminal inputs, I'd eventually get it up, but enough is enough.


All times are GMT -5. The time now is 06:39 PM.