# I am a beginner on Java

**URL:** <https://forum.codewithmosh.com/t/i-am-a-beginner-on-java/10397>\
**Category:** Java\
**Created:** [February 3, 2022, 7:43am UTC](https://forum.codewithmosh.com/t/i-am-a-beginner-on-java/10397 "2022-02-03T07:43:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sriram](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@sriram](https://forum.codewithmosh.com/u/sriram)\
**Post date:** [February 3, 2022, 7:43am UTC](https://forum.codewithmosh.com/t/i-am-a-beginner-on-java/10397/1 "2022-02-03T07:43:30Z")

</div>

why its coming like this?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/a/a15a874e0c6e59fb6c93d3ae9b03b6c36ce57ef9.png)

---

<div class="post-metadata">

**Author:** ![eelsholz](https://avatars.discourse-cdn.com/v4/letter/e/439d5e/32.png) [@eelsholz](https://forum.codewithmosh.com/u/eelsholz)\
**Post date:** [February 5, 2022, 9:47pm UTC](https://forum.codewithmosh.com/t/i-am-a-beginner-on-java/10397/2 "2022-02-05T21:47:40Z")

</div>

Maybe you need to [install the JDK](https://devwithus.com/install-java-jdk/#how-to-install-java-jdk-on-windows-10)?

---

<div class="post-metadata">

**Author:** ![coder](https://avatars.discourse-cdn.com/v4/letter/c/9de0a6/32.png) [@coder](https://forum.codewithmosh.com/u/coder)\
**Post date:** [February 6, 2022, 10:53pm UTC](https://forum.codewithmosh.com/t/i-am-a-beginner-on-java/10397/3 "2022-02-06T22:53:31Z")

</div>

Hello @sriram

Check whether **JAVA\_HOME** environment variable is set to a folder, where you installed JDK. On Windows 10, click Notification icon in the bottom right corner, select “All settings”, then select “System”, in the bottom left corner find “About”, then on the right panel select “Advanced system settings”, then choose “Advanced” tab, at the bottom find “Environment variables…” If there is no such variable, create it. if there is no JDK on your machine, install it. **Do not delete the paths that already exist**

Yet you should check whether in **Path** environment variable there is a path to a **bin** folder inside a folder with JDK

If all is already set but still it doesn’t work, then check if IDEA knows about installed JDK. Open IDEA, click **File → Project Structure → Project settings → Project** and check **SDK** field
