JVM variable not set correctly enough for Android Studio





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







1















Having trouble firing up android studio. I get the following message: The environment variable JAVA_HOME (with the value of ?C:Program FilesJavajdk1.7.0_79jre and every other variation I can guess) does not point to a valid JVM installation. I am trying to do this on a windows xp desktop.
I just installed Android Studio and the jdk file today.










share|improve this question

























  • Android Studio requires Microsoft® Windows® 8/7/Vista (32- or 64-bit) (from developer.android.com/sdk/index.html#Requirements)

    – DavidPostill
    Apr 2 '16 at 12:24


















1















Having trouble firing up android studio. I get the following message: The environment variable JAVA_HOME (with the value of ?C:Program FilesJavajdk1.7.0_79jre and every other variation I can guess) does not point to a valid JVM installation. I am trying to do this on a windows xp desktop.
I just installed Android Studio and the jdk file today.










share|improve this question

























  • Android Studio requires Microsoft® Windows® 8/7/Vista (32- or 64-bit) (from developer.android.com/sdk/index.html#Requirements)

    – DavidPostill
    Apr 2 '16 at 12:24














1












1








1








Having trouble firing up android studio. I get the following message: The environment variable JAVA_HOME (with the value of ?C:Program FilesJavajdk1.7.0_79jre and every other variation I can guess) does not point to a valid JVM installation. I am trying to do this on a windows xp desktop.
I just installed Android Studio and the jdk file today.










share|improve this question
















Having trouble firing up android studio. I get the following message: The environment variable JAVA_HOME (with the value of ?C:Program FilesJavajdk1.7.0_79jre and every other variation I can guess) does not point to a valid JVM installation. I am trying to do this on a windows xp desktop.
I just installed Android Studio and the jdk file today.







windows-xp java android-studio jvm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 1 at 8:56









fixer1234

19.3k145082




19.3k145082










asked Apr 1 '16 at 20:44









user5767529user5767529

61




61













  • Android Studio requires Microsoft® Windows® 8/7/Vista (32- or 64-bit) (from developer.android.com/sdk/index.html#Requirements)

    – DavidPostill
    Apr 2 '16 at 12:24



















  • Android Studio requires Microsoft® Windows® 8/7/Vista (32- or 64-bit) (from developer.android.com/sdk/index.html#Requirements)

    – DavidPostill
    Apr 2 '16 at 12:24

















Android Studio requires Microsoft® Windows® 8/7/Vista (32- or 64-bit) (from developer.android.com/sdk/index.html#Requirements)

– DavidPostill
Apr 2 '16 at 12:24





Android Studio requires Microsoft® Windows® 8/7/Vista (32- or 64-bit) (from developer.android.com/sdk/index.html#Requirements)

– DavidPostill
Apr 2 '16 at 12:24










1 Answer
1






active

oldest

votes


















0














The environment variable JAVA_HOME does not point to a valid JVM installation



JAVA_HOME should be set to the root of your Java installation.



set JAVA_HOME="C:Program FilesJavajdk1.7.0_79


or add this value to the system environment variables.



See What are PATH and other environment variables, and how can I set or use them? for more information.



Note:




  • Android Studio is not supported on Windows XP



Microsoft® Windows® 8/7/Vista (32- or 64-bit)




Source System Requirements






share|improve this answer


























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    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%2fsuperuser.com%2fquestions%2f1060306%2fjvm-variable-not-set-correctly-enough-for-android-studio%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The environment variable JAVA_HOME does not point to a valid JVM installation



    JAVA_HOME should be set to the root of your Java installation.



    set JAVA_HOME="C:Program FilesJavajdk1.7.0_79


    or add this value to the system environment variables.



    See What are PATH and other environment variables, and how can I set or use them? for more information.



    Note:




    • Android Studio is not supported on Windows XP



    Microsoft® Windows® 8/7/Vista (32- or 64-bit)




    Source System Requirements






    share|improve this answer






























      0














      The environment variable JAVA_HOME does not point to a valid JVM installation



      JAVA_HOME should be set to the root of your Java installation.



      set JAVA_HOME="C:Program FilesJavajdk1.7.0_79


      or add this value to the system environment variables.



      See What are PATH and other environment variables, and how can I set or use them? for more information.



      Note:




      • Android Studio is not supported on Windows XP



      Microsoft® Windows® 8/7/Vista (32- or 64-bit)




      Source System Requirements






      share|improve this answer




























        0












        0








        0







        The environment variable JAVA_HOME does not point to a valid JVM installation



        JAVA_HOME should be set to the root of your Java installation.



        set JAVA_HOME="C:Program FilesJavajdk1.7.0_79


        or add this value to the system environment variables.



        See What are PATH and other environment variables, and how can I set or use them? for more information.



        Note:




        • Android Studio is not supported on Windows XP



        Microsoft® Windows® 8/7/Vista (32- or 64-bit)




        Source System Requirements






        share|improve this answer















        The environment variable JAVA_HOME does not point to a valid JVM installation



        JAVA_HOME should be set to the root of your Java installation.



        set JAVA_HOME="C:Program FilesJavajdk1.7.0_79


        or add this value to the system environment variables.



        See What are PATH and other environment variables, and how can I set or use them? for more information.



        Note:




        • Android Studio is not supported on Windows XP



        Microsoft® Windows® 8/7/Vista (32- or 64-bit)




        Source System Requirements







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 20 '17 at 10:16









        Community

        1




        1










        answered Apr 1 '16 at 21:23









        DavidPostillDavidPostill

        108k27235270




        108k27235270






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1060306%2fjvm-variable-not-set-correctly-enough-for-android-studio%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

            Plaza Victoria

            Brian Clough

            Cáceres