• Support
  • What's with this Libre Office startup message?

my god what happened to the internet?

search "disable message libre office requires a java runtime environment (JRE) to perform this task"

OLD INTERNET, like 1995--to yesterday:
superuser, stackexchange, ubu forums, reddit: "ok here's what you have to do to get rid of this message. go into etc/libreoffice/x/y/z and open this with nano. then uncomment XABC and type in "; JKLMNOP : gurgle | awk |grep kill stupid message; ". Save. then go to settings to uncheck the radio box....
...next you have to symlink the new file to the path of writer by sudo ln abunchofstuff here and then you will have it"

NEUTERED INTERNET TODAY:
superuser: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."
stackexchange: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."
ubu forum: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."
reddit: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."
all else: ""there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist.""

feel like I'm being gaslighted at an expert level. may as well crack open a beer, a book, and the tv tonight... 🙁

    Are you opening a file ? Or just start a blank file? If it is a file from somewhere, it might contain some macro that need Java runtime. If it is blank file....No idea. WTF.
    Also Libreoffice wil have update (only a rebuild and default changes) this sync, lets see if that warning still pops up.

      alfisya I launch it through the icon in Plank.

      I would try and launch it from the terminal...because eopkg info says the name of libre office writer is libreoffice-writer. but if you put libreoffice-writer in the terminal I get

       $ libreoffice-writer
      bash: libreoffice-writer: command not found

      so I have no terminal output to give you.
      Going into nemo and finding a random *.docx yields the continually obnoxious:

      if it's not fixed with the sync I'll go to devtracker and see if they can help. thank you for your response.

        It should be libreoffice --writer. I do have a warning in terminal, but not a pop-up like yours.

         $libreoffice --writer
        javaldx: Could not find a Java Runtime Environment!
        Warning: failed to read path from javaldx

          brent terminal lowriter
          Guess you can do it either way.

            alfisya thank you for the clarification. when I ran libreoffice --writer I got:
            (soffice:30490): Gtk-CRITICAL **: 17:14:06.626: gtk_widget_get_toplevel: assertion 'GTK_IS_WIDGET (widget)' failed
            [@Sebastian I wonder if this is related to that file we created in the hangouts thread?]

            and yes, I still get the popup.
            this could be self-induced, we made a gtk move recently to stop my glitching. it's possible I did this..I dont' know.

              brent Hey Brent, I really don't think so. But to be sure you can undo it anytime by running sudo nano /etc/environment in terminal and put a # before GSK_RENDERER=gl,save and reboot and see if this leads to any difference.

                Sebastian thanks for your response. will try to delete file (and make it again later.) also have to axios's remove/reinstall thing. cover my bases. then file a bug if all that fails.

                Axios the old rm/it libreoffice did not change a thing. I will file with devtracker.

                  brent Never hurts to try its weird bug anyways from what I read online everybody just installs
                  jre to get rid of it.

                  Mine works fine no errors even dunno what the difference is.

                    Axios I asked if JRE installation was required by solus to run libreoffice? they didn't answer me here, maybe they will on devtracker.
                    I can install it, I just don't want to install it unless told by Solus Devs it was mandatory for LO to run without a popup dialogue box. I need to try other things so I hope the give me some t-shooting tips. I hate it since I use LO a lot. Thanks for the response. If you have read it's a common thing...then perhaps I should read too. I'm sure you saw some [solved] posts.

                      brent Not really other than installing jre one person deleted the libreoffice directory in .config
                      and that worked not sure if they just deleted and restarted LO or they uninstalled deleted that dir
                      and reinstalled.
                      But in the past I have fixed some programs by unistalling and checking for dir and deleteing stuff then reinstalling
                      kinda like old winders days

                      (shrugs)

                        Axios But in the past I have fixed some programs by unistalling and checking for dir and deleteing stuff then reinstalling
                        kinda like old winders days

                        this is one of those few times I didn't delete config and home files then reinstall...I'm getting sloppy. or I was too impatient to fix this. you get me thinking I haven't exhausted the trick bag yet

                        3 months later

                        I solved this annoying PITA message by installing JDK21 from the repo.
                        No more messages.

                        I don't remember any announcement telling users that installing JDK was a condition of using LibreOffice.

                        I think this is wrong. I never had to install JDK for LibreOffice for years and years to use LibreOffice. Being forced to install JDK when I never had a use for it is weird to me.

                        ***unless in reverse world maybe I always had JDK installed and one day I uninstalled it?

                        depressingly SOLVED
                        edit/sp

                          brent That seems to be the crazy fix for that its strange tho that not everybody has issues with it
                          and when they do thats the only fix.
                          I dont like software on computer that I dont use either.

                            AlphaElwedritsch I checked my installation.
                            No JRE or JDK installed.

                            there never has been a proper discussion of why some are afflicted with this and some are not (same as lots of bugs). I have a feeling removing every Libre folder in /root and /home and uninstalling it would work. But that stuff makes me nervous 🙂

                            Axios I dont like software on computer that I dont use either.

                            something not right about that at all. A bug that makes you install unwanted software in order for the main software to function seems really sketchy.

                            POSTSCRIPT:

                            dark theme kinda blots out the checkbox next to "use a Java runtime....". I unchecked it despite all the online articles saying keep it checked...
                            ...and nothing happened--no returning annoying popups.

                            Next postscript: update on whether uninstalling JDK21 returns my annoying popups. Feel like I'm playing games with this app. Weird.