Unable to install LanguageTool 2.5 extension for LibreOffice 4.2 on Ubuntu 14.04





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







6















I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.



p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.



System details:



OS: Ubuntu 14.04 LTS

LibreOffice: 4.2 (4.2.3.3)

LanguageTool: 2.5

Java: Oracle JDK 1.8.0_05




Exception message:



Exception message










share|improve this question































    6















    I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.



    p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.



    System details:



    OS: Ubuntu 14.04 LTS

    LibreOffice: 4.2 (4.2.3.3)

    LanguageTool: 2.5

    Java: Oracle JDK 1.8.0_05




    Exception message:



    Exception message










    share|improve this question



























      6












      6








      6


      1






      I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.



      p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.



      System details:



      OS: Ubuntu 14.04 LTS

      LibreOffice: 4.2 (4.2.3.3)

      LanguageTool: 2.5

      Java: Oracle JDK 1.8.0_05




      Exception message:



      Exception message










      share|improve this question
















      I am not able to install LanguageTool extension for LibreOffice. Getting exception when I try to install it.



      p.s. Somebody says that the solution is installing openoffice.org-java-common package but Ubuntu 14.04 does not have this package in its repository.



      System details:



      OS: Ubuntu 14.04 LTS

      LibreOffice: 4.2 (4.2.3.3)

      LanguageTool: 2.5

      Java: Oracle JDK 1.8.0_05




      Exception message:



      Exception message







      14.04 java software-installation libreoffice openoffice.org






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 20 '14 at 12:36









      Clayton

      1,2201026




      1,2201026










      asked Apr 30 '14 at 10:54









      talha06talha06

      4302920




      4302920






















          4 Answers
          4






          active

          oldest

          votes


















          8
















          1. First of all, the most important:



            sudo apt-get installlibreoffice-java-commonjava-common



          2. Go to LibreOffice Options menu, choose Advanced and be sure Use Java runtime environment is checked and a Java version is selected.


          3. Now install your extension either by double-clicking on it in File Manager or by importing it in LibreOffice Extension Manager dialog.







          share|improve this answer





















          • 1





            thanks a lot; now it works for me. The critical package is libreoffice-java-common as you highlighted.

            – talha06
            May 9 '14 at 17:55






          • 2





            I think worth adding: at least with Ubuntu 16.04 and LanguageTool 4.2, you need Java 8, installable e.g. with apt install openjdk-8-jre-headless, and select Java 8 in LibreOffice. Java 7 won't work.

            – Ivan Ogai
            Aug 13 '18 at 14:50



















          1














          I had this error with 12.04, turned out java just wasn't enabled in LibreOffice. Might sound silly, but worth a check.



          Go to Tools-Options-Advanced. I had the checkbox selected for "Use a java runtime environment", but right under that is "Java runtime environments(JRE) already installed:", and inside that list I hadn't selected anything.



          Checked the Oracle 1.7, restarted LibreOffice, installed LanguageTool, all was well.






          share|improve this answer
























          • it is already detected and checked for me.

            – talha06
            May 7 '14 at 19:37



















          0














          You need to have OpenJDK Java runtime installed. You can do so from the Ubuntu Software Center. Once done, download the LanguageTool, and choose open with Libreoffice. See image below



          enter image description here



          If you open writer, you will see it



          enter image description here



          enter image description here



          As per your comments, I have installed Oracle Java, and tried installing LanguageTool, and I got the same error. So I would assume that it will not work with Oracle Java.






          share|improve this answer


























          • can't I use with Oracle Java? because I need to use this vendor due to my other works.

            – talha06
            Apr 30 '14 at 15:16











          • I don't see why not.

            – Mitch
            Apr 30 '14 at 17:35











          • as I declared in my first post, I have already Oracle Java 8.

            – talha06
            May 1 '14 at 2:48











          • See addition in my answer.

            – Mitch
            May 1 '14 at 5:17



















          0














          Using Kubuntu 18.10 and Java 11, the following solution worked for me:




          1. Install the jaxb package: sudo apt install libjaxb-java


          2. Open LibreOffice, and go to Tools -> Options -> Advanced


          3. You should see the Oracle Corporation 11 JRE has been selected.


          4. Select the Oracle Corporation 11 JRE, and click on Class Path.


          5. Add /usr/share/java/jaxb-impl.jar



          Restart LibreOffice, and the error should go away. I don't know what else is loaded, and haven't come across any other side effects yes.






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f458240%2funable-to-install-languagetool-2-5-extension-for-libreoffice-4-2-on-ubuntu-14-04%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            4 Answers
            4






            active

            oldest

            votes








            4 Answers
            4






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            8
















            1. First of all, the most important:



              sudo apt-get installlibreoffice-java-commonjava-common



            2. Go to LibreOffice Options menu, choose Advanced and be sure Use Java runtime environment is checked and a Java version is selected.


            3. Now install your extension either by double-clicking on it in File Manager or by importing it in LibreOffice Extension Manager dialog.







            share|improve this answer





















            • 1





              thanks a lot; now it works for me. The critical package is libreoffice-java-common as you highlighted.

              – talha06
              May 9 '14 at 17:55






            • 2





              I think worth adding: at least with Ubuntu 16.04 and LanguageTool 4.2, you need Java 8, installable e.g. with apt install openjdk-8-jre-headless, and select Java 8 in LibreOffice. Java 7 won't work.

              – Ivan Ogai
              Aug 13 '18 at 14:50
















            8
















            1. First of all, the most important:



              sudo apt-get installlibreoffice-java-commonjava-common



            2. Go to LibreOffice Options menu, choose Advanced and be sure Use Java runtime environment is checked and a Java version is selected.


            3. Now install your extension either by double-clicking on it in File Manager or by importing it in LibreOffice Extension Manager dialog.







            share|improve this answer





















            • 1





              thanks a lot; now it works for me. The critical package is libreoffice-java-common as you highlighted.

              – talha06
              May 9 '14 at 17:55






            • 2





              I think worth adding: at least with Ubuntu 16.04 and LanguageTool 4.2, you need Java 8, installable e.g. with apt install openjdk-8-jre-headless, and select Java 8 in LibreOffice. Java 7 won't work.

              – Ivan Ogai
              Aug 13 '18 at 14:50














            8












            8








            8









            1. First of all, the most important:



              sudo apt-get installlibreoffice-java-commonjava-common



            2. Go to LibreOffice Options menu, choose Advanced and be sure Use Java runtime environment is checked and a Java version is selected.


            3. Now install your extension either by double-clicking on it in File Manager or by importing it in LibreOffice Extension Manager dialog.







            share|improve this answer

















            1. First of all, the most important:



              sudo apt-get installlibreoffice-java-commonjava-common



            2. Go to LibreOffice Options menu, choose Advanced and be sure Use Java runtime environment is checked and a Java version is selected.


            3. Now install your extension either by double-clicking on it in File Manager or by importing it in LibreOffice Extension Manager dialog.








            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 9 '14 at 17:56

























            answered May 9 '14 at 17:08









            CorneliusCornelius

            7,63832854




            7,63832854








            • 1





              thanks a lot; now it works for me. The critical package is libreoffice-java-common as you highlighted.

              – talha06
              May 9 '14 at 17:55






            • 2





              I think worth adding: at least with Ubuntu 16.04 and LanguageTool 4.2, you need Java 8, installable e.g. with apt install openjdk-8-jre-headless, and select Java 8 in LibreOffice. Java 7 won't work.

              – Ivan Ogai
              Aug 13 '18 at 14:50














            • 1





              thanks a lot; now it works for me. The critical package is libreoffice-java-common as you highlighted.

              – talha06
              May 9 '14 at 17:55






            • 2





              I think worth adding: at least with Ubuntu 16.04 and LanguageTool 4.2, you need Java 8, installable e.g. with apt install openjdk-8-jre-headless, and select Java 8 in LibreOffice. Java 7 won't work.

              – Ivan Ogai
              Aug 13 '18 at 14:50








            1




            1





            thanks a lot; now it works for me. The critical package is libreoffice-java-common as you highlighted.

            – talha06
            May 9 '14 at 17:55





            thanks a lot; now it works for me. The critical package is libreoffice-java-common as you highlighted.

            – talha06
            May 9 '14 at 17:55




            2




            2





            I think worth adding: at least with Ubuntu 16.04 and LanguageTool 4.2, you need Java 8, installable e.g. with apt install openjdk-8-jre-headless, and select Java 8 in LibreOffice. Java 7 won't work.

            – Ivan Ogai
            Aug 13 '18 at 14:50





            I think worth adding: at least with Ubuntu 16.04 and LanguageTool 4.2, you need Java 8, installable e.g. with apt install openjdk-8-jre-headless, and select Java 8 in LibreOffice. Java 7 won't work.

            – Ivan Ogai
            Aug 13 '18 at 14:50













            1














            I had this error with 12.04, turned out java just wasn't enabled in LibreOffice. Might sound silly, but worth a check.



            Go to Tools-Options-Advanced. I had the checkbox selected for "Use a java runtime environment", but right under that is "Java runtime environments(JRE) already installed:", and inside that list I hadn't selected anything.



            Checked the Oracle 1.7, restarted LibreOffice, installed LanguageTool, all was well.






            share|improve this answer
























            • it is already detected and checked for me.

              – talha06
              May 7 '14 at 19:37
















            1














            I had this error with 12.04, turned out java just wasn't enabled in LibreOffice. Might sound silly, but worth a check.



            Go to Tools-Options-Advanced. I had the checkbox selected for "Use a java runtime environment", but right under that is "Java runtime environments(JRE) already installed:", and inside that list I hadn't selected anything.



            Checked the Oracle 1.7, restarted LibreOffice, installed LanguageTool, all was well.






            share|improve this answer
























            • it is already detected and checked for me.

              – talha06
              May 7 '14 at 19:37














            1












            1








            1







            I had this error with 12.04, turned out java just wasn't enabled in LibreOffice. Might sound silly, but worth a check.



            Go to Tools-Options-Advanced. I had the checkbox selected for "Use a java runtime environment", but right under that is "Java runtime environments(JRE) already installed:", and inside that list I hadn't selected anything.



            Checked the Oracle 1.7, restarted LibreOffice, installed LanguageTool, all was well.






            share|improve this answer













            I had this error with 12.04, turned out java just wasn't enabled in LibreOffice. Might sound silly, but worth a check.



            Go to Tools-Options-Advanced. I had the checkbox selected for "Use a java runtime environment", but right under that is "Java runtime environments(JRE) already installed:", and inside that list I hadn't selected anything.



            Checked the Oracle 1.7, restarted LibreOffice, installed LanguageTool, all was well.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered May 7 '14 at 19:29









            JW_FoxJW_Fox

            111




            111













            • it is already detected and checked for me.

              – talha06
              May 7 '14 at 19:37



















            • it is already detected and checked for me.

              – talha06
              May 7 '14 at 19:37

















            it is already detected and checked for me.

            – talha06
            May 7 '14 at 19:37





            it is already detected and checked for me.

            – talha06
            May 7 '14 at 19:37











            0














            You need to have OpenJDK Java runtime installed. You can do so from the Ubuntu Software Center. Once done, download the LanguageTool, and choose open with Libreoffice. See image below



            enter image description here



            If you open writer, you will see it



            enter image description here



            enter image description here



            As per your comments, I have installed Oracle Java, and tried installing LanguageTool, and I got the same error. So I would assume that it will not work with Oracle Java.






            share|improve this answer


























            • can't I use with Oracle Java? because I need to use this vendor due to my other works.

              – talha06
              Apr 30 '14 at 15:16











            • I don't see why not.

              – Mitch
              Apr 30 '14 at 17:35











            • as I declared in my first post, I have already Oracle Java 8.

              – talha06
              May 1 '14 at 2:48











            • See addition in my answer.

              – Mitch
              May 1 '14 at 5:17
















            0














            You need to have OpenJDK Java runtime installed. You can do so from the Ubuntu Software Center. Once done, download the LanguageTool, and choose open with Libreoffice. See image below



            enter image description here



            If you open writer, you will see it



            enter image description here



            enter image description here



            As per your comments, I have installed Oracle Java, and tried installing LanguageTool, and I got the same error. So I would assume that it will not work with Oracle Java.






            share|improve this answer


























            • can't I use with Oracle Java? because I need to use this vendor due to my other works.

              – talha06
              Apr 30 '14 at 15:16











            • I don't see why not.

              – Mitch
              Apr 30 '14 at 17:35











            • as I declared in my first post, I have already Oracle Java 8.

              – talha06
              May 1 '14 at 2:48











            • See addition in my answer.

              – Mitch
              May 1 '14 at 5:17














            0












            0








            0







            You need to have OpenJDK Java runtime installed. You can do so from the Ubuntu Software Center. Once done, download the LanguageTool, and choose open with Libreoffice. See image below



            enter image description here



            If you open writer, you will see it



            enter image description here



            enter image description here



            As per your comments, I have installed Oracle Java, and tried installing LanguageTool, and I got the same error. So I would assume that it will not work with Oracle Java.






            share|improve this answer















            You need to have OpenJDK Java runtime installed. You can do so from the Ubuntu Software Center. Once done, download the LanguageTool, and choose open with Libreoffice. See image below



            enter image description here



            If you open writer, you will see it



            enter image description here



            enter image description here



            As per your comments, I have installed Oracle Java, and tried installing LanguageTool, and I got the same error. So I would assume that it will not work with Oracle Java.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited May 1 '14 at 5:16

























            answered Apr 30 '14 at 11:16









            MitchMitch

            85.8k14174232




            85.8k14174232













            • can't I use with Oracle Java? because I need to use this vendor due to my other works.

              – talha06
              Apr 30 '14 at 15:16











            • I don't see why not.

              – Mitch
              Apr 30 '14 at 17:35











            • as I declared in my first post, I have already Oracle Java 8.

              – talha06
              May 1 '14 at 2:48











            • See addition in my answer.

              – Mitch
              May 1 '14 at 5:17



















            • can't I use with Oracle Java? because I need to use this vendor due to my other works.

              – talha06
              Apr 30 '14 at 15:16











            • I don't see why not.

              – Mitch
              Apr 30 '14 at 17:35











            • as I declared in my first post, I have already Oracle Java 8.

              – talha06
              May 1 '14 at 2:48











            • See addition in my answer.

              – Mitch
              May 1 '14 at 5:17

















            can't I use with Oracle Java? because I need to use this vendor due to my other works.

            – talha06
            Apr 30 '14 at 15:16





            can't I use with Oracle Java? because I need to use this vendor due to my other works.

            – talha06
            Apr 30 '14 at 15:16













            I don't see why not.

            – Mitch
            Apr 30 '14 at 17:35





            I don't see why not.

            – Mitch
            Apr 30 '14 at 17:35













            as I declared in my first post, I have already Oracle Java 8.

            – talha06
            May 1 '14 at 2:48





            as I declared in my first post, I have already Oracle Java 8.

            – talha06
            May 1 '14 at 2:48













            See addition in my answer.

            – Mitch
            May 1 '14 at 5:17





            See addition in my answer.

            – Mitch
            May 1 '14 at 5:17











            0














            Using Kubuntu 18.10 and Java 11, the following solution worked for me:




            1. Install the jaxb package: sudo apt install libjaxb-java


            2. Open LibreOffice, and go to Tools -> Options -> Advanced


            3. You should see the Oracle Corporation 11 JRE has been selected.


            4. Select the Oracle Corporation 11 JRE, and click on Class Path.


            5. Add /usr/share/java/jaxb-impl.jar



            Restart LibreOffice, and the error should go away. I don't know what else is loaded, and haven't come across any other side effects yes.






            share|improve this answer






























              0














              Using Kubuntu 18.10 and Java 11, the following solution worked for me:




              1. Install the jaxb package: sudo apt install libjaxb-java


              2. Open LibreOffice, and go to Tools -> Options -> Advanced


              3. You should see the Oracle Corporation 11 JRE has been selected.


              4. Select the Oracle Corporation 11 JRE, and click on Class Path.


              5. Add /usr/share/java/jaxb-impl.jar



              Restart LibreOffice, and the error should go away. I don't know what else is loaded, and haven't come across any other side effects yes.






              share|improve this answer




























                0












                0








                0







                Using Kubuntu 18.10 and Java 11, the following solution worked for me:




                1. Install the jaxb package: sudo apt install libjaxb-java


                2. Open LibreOffice, and go to Tools -> Options -> Advanced


                3. You should see the Oracle Corporation 11 JRE has been selected.


                4. Select the Oracle Corporation 11 JRE, and click on Class Path.


                5. Add /usr/share/java/jaxb-impl.jar



                Restart LibreOffice, and the error should go away. I don't know what else is loaded, and haven't come across any other side effects yes.






                share|improve this answer















                Using Kubuntu 18.10 and Java 11, the following solution worked for me:




                1. Install the jaxb package: sudo apt install libjaxb-java


                2. Open LibreOffice, and go to Tools -> Options -> Advanced


                3. You should see the Oracle Corporation 11 JRE has been selected.


                4. Select the Oracle Corporation 11 JRE, and click on Class Path.


                5. Add /usr/share/java/jaxb-impl.jar



                Restart LibreOffice, and the error should go away. I don't know what else is loaded, and haven't come across any other side effects yes.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Apr 3 at 20:06









                Philippe Delteil

                7941622




                7941622










                answered Apr 3 at 12:39









                David EmmettDavid Emmett

                11




                11






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f458240%2funable-to-install-languagetool-2-5-extension-for-libreoffice-4-2-on-ubuntu-14-04%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b