-1

Is it necessary to modify PATH, CLASSPATH, and JAVA_HOME in order to use Eclipse? When writing some code in Eclipse, does one need to change the PATH to add jdk/bin path in Windows environment variables? Does it work if one doesn't set PATH when only developing in Eclipse? Also, are setting CLASSPATH and JAVA_HOME variables likewise needed?

If so, why would making these changes be necessary if one only develops java in only Eclipse?

unknown
  • 4,859
  • 10
  • 44
  • 62
canmurat
  • 159
  • 11
  • 1. No. 2. No. 3. Only in Eclipse. Window-> Preferences... – rpax Mar 12 '14 at 20:58
  • possible duplicate of [Point eclipse IDE to use another JRE / JDK other than one specified in JAVA\_HOME](http://stackoverflow.com/questions/6881622/point-eclipse-ide-to-use-another-jre-jdk-other-than-one-specified-in-java-home) – canmurat Nov 02 '14 at 18:22

1 Answers1

2

No! You should add the path of installed jdk:

Window > Preferences > Java > Installed JREs > Add
Vitkinov
  • 79
  • 6