Sign Up

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

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
  • 43 Questions
  • 38 Answers
  • 1 Best Answer
  • 110 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
  • 175
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • Example Java program using method parameters
    • java error a jni error has occurred please check your installation and try again
    • java error application blocked by security settings
    • java. lang. NullPointerException
    • what java is used for ?
    • e java.lang.noclassdeffounderror javax/xml/bind/jaxbexception
    • java equals int cannot be dereferenced how to fix

    1 Answer

    1. Shweta Ranjan

      Shweta Ranjan

      • India
      • 37 Questions
      • 25 Answers
      • 0 Best Answers
      • 85 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 WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Choose from here the video type.

    Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs Ex: 'sdUUx5FdySs'.

    Sidebar

    Ask A Question

    Stats

    • Questions 809
    • Answers 925
    • Posts 7
    • Best Answers 30

    Related Questions

    • Example Java program using method parameters

      • 0 Answers
    • java error a jni error has occurred please check your

      • 1 Answer
    • java error application blocked by security settings

      • 1 Answer
    • java. lang. NullPointerException

      • 0 Answers
    • what java is used for ?

      • 1 Answer
    • Recent
    • Comments
    • Tags
    • Android 11 OS Features List | All You need to know about ANDROID 11

      Android 11 OS Features List | All You need to

    • Things to consider when buying a AC

      Things to consider when buying a AC

    • Things to consider when buying a printer

      Things to consider when buying a printer

    ac buying guide android 11 android 11 os features android 11 release date best specs for new smartphone to buy buy best smartphone android features list of android 11 google news Google News App google search app how to find best smart phone key configuration for best laptop key points before buying ac laptop buying guide laptop buying key points laptop choosing points limit google news notifications new smartphone choosing guide new things on android 11 points to remember for buying laptop printer buying guide remove google news smart phone buying guide stop google news notifications things to consider before buying laptop turn off google news turn off google news notifications

    Recent Questions

    • how to chat in whatsapp without showing online

      • 0 Answers
    • how to add music to youtube music

      • 1 Answer
    • fun games to play with friends indoors

      • 0 Answers
    • how to set environment variable in linux

      • 0 Answers
    • will my alarm go off on facetime

      • 1 Answer

    Explore

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

    Footer

    Recent Comments

    • single tap on how to add music to youtube music
    • single tap on will my alarm go off on facetime
    • nora khan on will the other person hear my alarm on facetime
    • ethan on will the other person hear my alarm on facetime
    • Forida Parvin on How to share WhatsApp status to single person
    Ask A Question

    Questions Categories

    • Android
    • Animation
    • Artificial Intelligence and Machine Learning
    • AWS
    • C Language

    Archives

    • September 2020
    • August 2020
    • July 2020

    Social media

    Terms & Privacy policy
    © 2020 All Rights Reserved @
    Techanswered.

    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.