Java Home not define (wso2ei-6.4.0 installation)





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am trying to install wso2ei-6.4.0, but it will not run due to the following error messages. I am running a RPi with Debian



Error: JAVA_HOME is not defined correctly.
CARBON cannot execute java


I have executed Java -verison and have the following return



java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)


I know the java directory, using Java -which



/usr/bin/java


How do I run Java from any of the directory to execute the installation of wso2ei-6.4.0?










share|improve this question





























    0















    I am trying to install wso2ei-6.4.0, but it will not run due to the following error messages. I am running a RPi with Debian



    Error: JAVA_HOME is not defined correctly.
    CARBON cannot execute java


    I have executed Java -verison and have the following return



    java version "1.8.0_65"
    Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
    Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)


    I know the java directory, using Java -which



    /usr/bin/java


    How do I run Java from any of the directory to execute the installation of wso2ei-6.4.0?










    share|improve this question

























      0












      0








      0








      I am trying to install wso2ei-6.4.0, but it will not run due to the following error messages. I am running a RPi with Debian



      Error: JAVA_HOME is not defined correctly.
      CARBON cannot execute java


      I have executed Java -verison and have the following return



      java version "1.8.0_65"
      Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
      Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)


      I know the java directory, using Java -which



      /usr/bin/java


      How do I run Java from any of the directory to execute the installation of wso2ei-6.4.0?










      share|improve this question














      I am trying to install wso2ei-6.4.0, but it will not run due to the following error messages. I am running a RPi with Debian



      Error: JAVA_HOME is not defined correctly.
      CARBON cannot execute java


      I have executed Java -verison and have the following return



      java version "1.8.0_65"
      Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
      Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)


      I know the java directory, using Java -which



      /usr/bin/java


      How do I run Java from any of the directory to execute the installation of wso2ei-6.4.0?







      java python linux wso2 raspberry-pi3






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 23 '18 at 13:36









      Brendon ShawBrendon Shaw

      397




      397
























          2 Answers
          2






          active

          oldest

          votes


















          1














          After some time and reading, I managed to add the following into ~/.bashrc:



          export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt"
          export PATH=$PATH:$JAVA_HOME/bin


          Note the arm32 directory for the jdk






          share|improve this answer

































            0














            Try this (as root user):



            export JAVA_HOME=/usr/bin/java


            Does this solve your issue?






            share|improve this answer
























            • Which and where should I add this line, just confused where it would go?

              – Brendon Shaw
              Nov 23 '18 at 18:59











            • You can start a terminal (or console) and launch this command, it should solve your problem.

              – Dominique
              Nov 23 '18 at 22:36












            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            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%2fstackoverflow.com%2fquestions%2f53447733%2fjava-home-not-define-wso2ei-6-4-0-installation%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            After some time and reading, I managed to add the following into ~/.bashrc:



            export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt"
            export PATH=$PATH:$JAVA_HOME/bin


            Note the arm32 directory for the jdk






            share|improve this answer






























              1














              After some time and reading, I managed to add the following into ~/.bashrc:



              export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt"
              export PATH=$PATH:$JAVA_HOME/bin


              Note the arm32 directory for the jdk






              share|improve this answer




























                1












                1








                1







                After some time and reading, I managed to add the following into ~/.bashrc:



                export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt"
                export PATH=$PATH:$JAVA_HOME/bin


                Note the arm32 directory for the jdk






                share|improve this answer















                After some time and reading, I managed to add the following into ~/.bashrc:



                export JAVA_HOME="/usr/lib/jvm/jdk-8-oracle-arm32-vfp-hflt"
                export PATH=$PATH:$JAVA_HOME/bin


                Note the arm32 directory for the jdk







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 27 at 13:26









                Dominique

                2,28952042




                2,28952042










                answered Nov 24 '18 at 8:14









                Brendon ShawBrendon Shaw

                397




                397

























                    0














                    Try this (as root user):



                    export JAVA_HOME=/usr/bin/java


                    Does this solve your issue?






                    share|improve this answer
























                    • Which and where should I add this line, just confused where it would go?

                      – Brendon Shaw
                      Nov 23 '18 at 18:59











                    • You can start a terminal (or console) and launch this command, it should solve your problem.

                      – Dominique
                      Nov 23 '18 at 22:36
















                    0














                    Try this (as root user):



                    export JAVA_HOME=/usr/bin/java


                    Does this solve your issue?






                    share|improve this answer
























                    • Which and where should I add this line, just confused where it would go?

                      – Brendon Shaw
                      Nov 23 '18 at 18:59











                    • You can start a terminal (or console) and launch this command, it should solve your problem.

                      – Dominique
                      Nov 23 '18 at 22:36














                    0












                    0








                    0







                    Try this (as root user):



                    export JAVA_HOME=/usr/bin/java


                    Does this solve your issue?






                    share|improve this answer













                    Try this (as root user):



                    export JAVA_HOME=/usr/bin/java


                    Does this solve your issue?







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Nov 23 '18 at 13:42









                    DominiqueDominique

                    2,28952042




                    2,28952042













                    • Which and where should I add this line, just confused where it would go?

                      – Brendon Shaw
                      Nov 23 '18 at 18:59











                    • You can start a terminal (or console) and launch this command, it should solve your problem.

                      – Dominique
                      Nov 23 '18 at 22:36



















                    • Which and where should I add this line, just confused where it would go?

                      – Brendon Shaw
                      Nov 23 '18 at 18:59











                    • You can start a terminal (or console) and launch this command, it should solve your problem.

                      – Dominique
                      Nov 23 '18 at 22:36

















                    Which and where should I add this line, just confused where it would go?

                    – Brendon Shaw
                    Nov 23 '18 at 18:59





                    Which and where should I add this line, just confused where it would go?

                    – Brendon Shaw
                    Nov 23 '18 at 18:59













                    You can start a terminal (or console) and launch this command, it should solve your problem.

                    – Dominique
                    Nov 23 '18 at 22:36





                    You can start a terminal (or console) and launch this command, it should solve your problem.

                    – Dominique
                    Nov 23 '18 at 22:36


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • 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%2fstackoverflow.com%2fquestions%2f53447733%2fjava-home-not-define-wso2ei-6-4-0-installation%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







                    這個網誌中的熱門文章

                    Academy of Television Arts & Sciences

                    L'Équipe

                    1995 France bombings