I can not find the CLASSPATH and JAVA_HOME system variables in Windows 7. Please take care of my eyes or, in extreme cases, tell me where to look.

  • What do you mean by "find"? Are they visible in the corresponding dialog box? echp% JAVA_HOME%? - cy6erGn0m

2 answers 2

You need to prescribe them yourself: go in - Computer-Properties-Change parameters-Tab-in addition-Environment variables-there you create them and pass them the correct parameters (I have JAVA_HOME value C: Program FilesJavajdk1.6.0_26)

  • Thank you :) - BomBom
  • How strange .. in theory after installing Java on Windows, these variables are usually set as it should ... - cy6erGn0m
  • exactly. nifiga not prescribed during installation. - skegg
  • it is prescribed, it is not prescribed. it depends. - Sergey

1. How to find system variables?

The tools for working with user / system variables built into all versions of Windows are rather inconvenient, and Super User recommends using the free Rapid Environment Editor (REE) GUI application.

To go to work with system / user variables, you do not need to make many clicks every time: you just need to run the executable file of the program → and the variables should appear in the list. The blue rectangle highlights the CLASSPATH and JAVA_HOME values ​​for me.

Java variables



2. Other Benefits of Rapid Environment Editor

  1. Backup variables in 2 clicks - File → Backup .
  2. Red selection of variables, the path to which is specified incorrectly.

Incorrect paths

  1. The alphabetic sorting facilitates visual search.
  2. Variables are also shown that are read-only, but not modified.