-1

It shows I have no sdk, but I have installed java development kit already:

It shows I have no sdk, but I have installed java development kit already.

I am new in programming world.

halfer
  • 19,824
  • 17
  • 99
  • 186
Zisan
  • 3
  • 1
  • 5
  • At the very top of your image, where it says `` in the dropdown menu, what are your options? – Sam Aug 16 '18 at 14:27
  • See the "New" button up there on the right? – assylias Aug 16 '18 at 14:28
  • @Sam I haven't any option there – Zisan Aug 16 '18 at 14:29
  • @Zisan What about what assylias said? What happens when you click the `New` button? – Sam Aug 16 '18 at 14:30
  • @sam It shows "select home directory for jdk". – Zisan Aug 16 '18 at 14:32
  • @Sam I go into c/java , but which one I need to select? jdk or jre? – Zisan Aug 16 '18 at 14:34
  • @Zisan Use the JDK – Sam Aug 16 '18 at 14:35
  • Yeah, I have solved the problem. Thanks a lot brothers. I have just created this account in stackoverflow. so I haven't much knowledge about how to use it. I am gonna watch tutorial . have a nice day brothers !!!!!!!!!!! – Zisan Aug 16 '18 at 14:38
  • Thanks brother @Sam – Zisan Aug 16 '18 at 14:39
  • Please read [Under what circumstances may I add “urgent” or other similar phrases to my question, in order to obtain faster answers?](//meta.stackoverflow.com/q/326569) - the summary is that this is not an ideal way to address volunteers, and is probably counterproductive to obtaining answers. Please refrain from adding this to your questions. – halfer Aug 16 '18 at 20:23

1 Answers1

1

You have to define your JAVA_HOME environment variable to tell the system where to find the SDK. This explains how to set this variable on Windows.

Additionally you should add $JAVA_HOME/bin (the binary directory of your Java SDK) to your path environment variable.

FreshD
  • 2,914
  • 2
  • 23
  • 34