1

Where does Eclipse store Environment Variables for java program? Does it store in our project directory? or Eclipse configurations?

dhruvarora
  • 11
  • 1
  • If you are asking about the Run Configuration the variables are stored in the launch configuration. – greg-449 Sep 29 '18 at 06:29
  • probably too late answer but I found them in project directory at ".settings/org.eclipse.cdt.core.prefs". Not for java but c++. – user3583807 Sep 16 '21 at 20:50

1 Answers1

0

Environment Variables are attached to a "Run Configuration"(Run -> Run Configurations). Then you create a new Java Application run config, and will see Environment tab on the right panel.

Will Luo
  • 11
  • 2