ElasticSearch and Java environment variable

前端 未结 10 1071
抹茶落季
抹茶落季 2020-12-28 12:38

For Windows 7, I\'ve installed JDK in both 32 and 64 bit versions. The versions are 8, update 20 for all four installations. http://www.oracle.com/technetwork/java/javase/d

10条回答
  •  时光说笑
    2020-12-28 13:37

    You can set the system-wide environment variables by clicking Start, pointing to 'Computer', right-clicking and selecting properties. Next, click 'Advanced System Settings', hitting the 'Advanced' tab and selecting the 'Environment Variables' button. This brings up a window where you can set your JAVA_HOME variable. You can do this either for the current user (top box) or system-wide.

    Environment variables dialog

    After doing this, open a new cmd window (Start menu, type 'cmd' and hit enter) and verify JAVA_HOME is set like in the question above.

提交回复
热议问题