Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Let me get around this problem by installing the command (chi2power) manually. Is it possible to do so?

    Comment


    • #17
      Can you try the following and restart Stata to see if ssc install works?
      Code:
      set java_home "C:\Users\ramfa\Desktop\jdk-17_windows-x64_bin\jdk-17.0.2\"

      Comment


      • #18
        Ramadan Elfaitouri since your Stata is now up to date, I recommend that you type
        Code:
        java set home default
        which will point the Stata installation back to the default Java installation.

        For some background, it looks like your Stata was not fully updated which was likely the cause of the original problem. Now that Stata is up to date, you should be able to use the Java installation included with Stata.

        As an alternative, you can point Stata to another Java installation as Tarun Choudhary suggests in post #17. However, we are not currently recommending JDK 17 with Stata as it has not yet been fully certified with Stata. Instead we are recommending JDK 11 for Stata 17 and JRE 11 for Stata 16.

        Comment


        • #19

          set java_home "C:\Users\ramfa\Desktop\jdk-17_windows-x64_bin\jdk-17.0.2" It works perfectly.

          BIG BIG THANK YOU to all of you guys.
          Last edited by Ramadan Elfaitouri; 14 Feb 2022, 13:11.

          Comment


          • #20
            Originally posted by Ramadan Elfaitouri View Post
            set java_home "C:\Users\ramfa\Desktop\jdk-17_windows-x64_bin\jdk-17.0.2" It works perfectly.

            BIG BIG THANK YOU to all of you guys.
            I would follow James Hassell (StataCorp)'s suggestion to see if that works as you will not be using a supported distribution of Java with Stata and that may cause unintended consequences later on.

            Comment

            Working...
            X