Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 1175
Next
In Process
sita
sita

sita

  • India
  • 105 Questions
  • 59 Answers
  • 1 Best Answer
  • 74 Points
View Profile
  • 0
sita
Asked: December 15, 20202020-12-15T12:27:30+05:30 2020-12-15T12:27:30+05:30In: Java

how to set java path and classpath in windows 10

  • 0

Currently im learning java and want set a java path in environment variables. How to set java path and class path in windows 10 laptop ? do we get errors while set java path and java_home in windows 10 ? Can anyone show a easy step by step procedure to set java execution environment,where i can use java on my computer. Image help would be really helpful.

how to set a java path in environment variableshow to set java path and classpath in windows 10how to set java path and java_home in windowshow to set java path and java_home in windows 10how to set java path in windows 10how to set java path in windows 10 using cmd
  • 1
  • 1,513
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • how to solve error illegal start of expression in java
    • write a program to calculate the electricity bill in java
    • How to insert data in java through database?
    • How to run java code in eclipse
    • What is null pointer exception in java?
    • javascript validation client side and submitting to database using webspring with example program
    • When to use volatile variable in Java?

    1 Answer

    1. Shweta Ranjan

      Shweta Ranjan

      • India
      • 47 Questions
      • 38 Answers
      • 1 Best Answer
      • 128 Points
      View Profile
      Shweta Ranjan
      2021-01-23T10:39:11+05:30Added an answer on January 23, 2021 at 10:39 am

      Here I am enlisting few steps to set javapath and Classpath in windows 10

      Open Advanced System Settings

      In windows 10 we need to press Windows Key + Pause Key.

      Change settings and select Advanced tab.

      or

      Press  Windows Key and click on the search box .

      1. Search advanced system settings
      2. Click on the  View advanced system settings

      Set JAVA_HOME Environment variable

      Click on System Settings below box will appear

      Move forward with Advanced tab, click on ‘Environment Variables’.

      Click the “New” button Under “System variables” and enter JAVA_HOME as “Variable name” and the path to your Java JDK directory under “Variable value”

      In ‘System Variables’ click on the ‘New’ Button and type JAVA_HOME in field ‘Variable name:’ and type in the path of JDK in ‘Variable value:’.

      Add the path as System Variable.

      Update System PATH

      1. In the Environment Variables window under System variables click on the path.
      2. Click Edit.
      3. In the Edit environment variable window click New.
      4. Then type in the following%JAVA_HOME%bin .

      Click on OK.

      Test your configuration

      Run Command Prompt
      1. Type in the following echo %JAVA_HOME%
      This will echo the directory path of JAVA_HOME or it will echo nothing if Variable is not set.
      echo %JAVA_HOME%

      Output:

      C:Program FilesJavajdk1.8.0_191

      To check version type java -version:
      1. Type following in command line tool
      java -version

      This will print out the version of Java as in my case:

      java version “1.8.0_191”
      Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
      Java HotSpot(TM) 64-Bit Server VM (build 25.191, mixed mode)

      Further if you are facing java error you can read this article to gets the solution

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    More Questions

    • dynamicapps5

      how to solve error illegal start of expression in java

    • sita

      write a program to calculate the electricity bill in java

    • Himasree

      How to insert data in java through database?

    • Swathi

      How to run java code in eclipse

    • Swathi

      What is null pointer exception in java?

    • kiran kumar85

      javascript validation client side and submitting to database using webspring

    • Rashika

      When to use volatile variable in Java?

    • Aniya

      how to fix java error in tlauncher authentication

    Stats

    • Questions 1,992
    • Answers 2,102
    • Posts 12
    • Best Answers 73

    Related Questions

    • dynamicapps5

      how to solve error illegal start of expression in java

    • sita

      write a program to calculate the electricity bill in java

    • Himasree

      How to insert data in java through database?

    • Swathi

      How to run java code in eclipse

    • Swathi

      What is null pointer exception in java?

    • kiran kumar85

      javascript validation client side and submitting to database using webspring with example

    • Rashika

      When to use volatile variable in Java?

    • Aniya

      how to fix java error in tlauncher authentication

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • AaronBlackburn on why can’t i find my message requests on instagram
    • shree on How to use philips citrus press juicer 25 watts Demo
    Ask A Question

    Archives

    Tags

    laptop buying guide (1) limit google news notifications (1) printer buying guide (1) stop google news notifications (1) turn off google news notifications (1)

    Social media

    © 2023 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.