• Home
  • About Us
  • Courses
  • Blog
    • ServiceNow
    • Java
    • Web Technologies
    • Amazon Web Services (AWS)
    • DevOps
    • Google Cloud
  • Contact
    • RegisterLogin
      • GET STARTED
    Java4all - ServiceNow, AWS, Java and Cloud TechnologiesJava4all - ServiceNow, AWS, Java and Cloud Technologies
    • Home
    • About Us
    • Courses
    • Blog
      • ServiceNow
      • Java
      • Web Technologies
      • Amazon Web Services (AWS)
      • DevOps
      • Google Cloud
    • Contact
      • RegisterLogin
        • GET STARTED

      Java

      • Home
      • Blog
      • Java
      • How-to-set-java_home-on-windows-10

      How-to-set-java_home-on-windows-10

      • Posted by Java4alladmin
      • Date April 18, 2020
      • Comments 0 comment
      • Tags #JAVA, #java_home, #path
      course 6

      How to set a JAVA_HOME system variable on Windows 10.

      Step 1: Advance System Settings

      Go to Computer (my PC)->Right click->Properties->Advance system settings

      advancesystemsetting1

      Step 2: Environment Variables

      Click on Advance system settings -> Environment variables

      environment

      Step 3: Add JAVA_HOME

      In System variables, clicks New button to add a new JAVA_HOME variable and point it to the JDK installed folder

      Correct – C:\Program Files\Java\jdk1.8.0_191

      Wrong – C:\Program Files\Java\jdk1.8.0_191\bin

      java_home

      Step 4: Update Path

      In System variables, find path, clicks edit ->New

      Puts the %JAVA_HOME%\bin in PATH

      pathvariable

      Step 5 : Test

      1. Open a command prompt by typing ‘cmd’ at start search
      2. type “java -version”

      Tag:#JAVA, #java_home, #path

      • Share:
      author avatar
      Java4alladmin

        Previous post

        How is Java platform independent?
        April 18, 2020

        You may also like

        blog-5
        How is Java platform independent?
        15 April, 2020

        Leave A Reply Cancel reply

        You must be logged in to post a comment.

        Categories

        • Blog
        • Business
        • Design / Branding
        • DevOps
        • Google Cloud
        • Java
        • ServiceNow

        Latest Courses

        ServiceNow Service Catalog Practice Test

        ServiceNow Service Catalog Practice Test

        Free
        ServiceNow Certified System Administrator Practice Test – Fundamental – 2

        ServiceNow Certified System Administrator Practice Test – Fundamental – 2

        Free
        ServiceNow Certified System Administrator Practice Test – Knowledge Management

        ServiceNow Certified System Administrator Practice Test – Knowledge Management

        Free

        Become an Instructor

        Join our community of students around the world and sell your courses.

        Learn More

        BBS Learning Powered by BBS Technologies.

        • Privacy
        • Terms
        • Sitemap
        • Purchase

        Login with your site account

        Lost your password?

        Not a member yet? Register now

        Register a new account

        Are you a member? Login now