

If the PATH variable is already existing in any section, simply click Edit and add the Java Installation Path. If it is not available click New on any section and add PATH as variable NAME and Value as C:\Program Files\Java\jdk1.8.0_131\bin for example. In either of them, find for Variable name PATH or path. The top section shows User variables and the bottom section shows System Variables. Under Environment Variables, you can see two sections. On the bottom, you can find a button with name ' Environment Variables.'. Under system properties, go to Advanced Tab. Go to Advanced System Settings on the left side. Here you can see your computer hardware specifications like RAM, Processor Type and Windows Activation status etc.

Right Click on My Computer and goto Properties. Setup CLASSPATH or Class Path - To attach or add Libraries and Helper Classesġ.Setup JAVA_HOME or Java Home Directory - To access JDK, JRE Tools.There are two path variables to be set up in a Windows 10 Computer. Setting up Java Environment in Windows is nothing but adding Java Installation Path to Operating System Variables.

If you do not develop any java programs or software, just install JRE on your machine. Some websites force users to install JRE in order to display customized information that is displayed only on Java Supported (Or installed) browsers. JRE is useful only to run Java Applications but not for development works. Hence JDK is the right option to install in this case. If you are developing Java applications, you need to compile the java programs.
