# How to get Mosh Java course code to work in IntelliJ

**URL:** <https://forum.codewithmosh.com/t/how-to-get-mosh-java-course-code-to-work-in-intellij/9103>\
**Category:** Java\
**Created:** [December 9, 2021, 6:53pm UTC](https://forum.codewithmosh.com/t/how-to-get-mosh-java-course-code-to-work-in-intellij/9103 "2021-12-09T18:53:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TN1183](https://avatars.discourse-cdn.com/v4/letter/t/90db22/32.png) [@TN1183](https://forum.codewithmosh.com/u/TN1183)\
**Post date:** [December 9, 2021, 6:53pm UTC](https://forum.codewithmosh.com/t/how-to-get-mosh-java-course-code-to-work-in-intellij/9103/1 "2021-12-09T18:53:23Z")

</div>

Hi,

I downloaded Mosh material for the Java course but not sure how to get it to work in IntelliJ.

When start a new project and bring in the downloaded files, I get a lot of errors.

I am assuming i am not loading the files properly, is it possible to assist in how to properly do so?

Thank you in advance!!

![Screenshot 2021-12-09 135235](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/b/b88182e34751646aa339688c3ce7ce90fba81a59.png)

---

<div class="post-metadata">

**Author:** ![Gintsm](https://avatars.discourse-cdn.com/v4/letter/g/f05b48/32.png) [@Gintsm](https://forum.codewithmosh.com/u/Gintsm)\
**Post date:** [December 11, 2021, 12:16pm UTC](https://forum.codewithmosh.com/t/how-to-get-mosh-java-course-code-to-work-in-intellij/9103/2 "2021-12-11T12:16:17Z")

</div>

All java file classes want to see on output should contain `public static void main(String[] args)` and if you want to have some methods like you have on-screen you call them, but what I see more, from the picture, you are trying to call another method with just variable (user.getEmail()), my suggestion for you - In the beginning try to be very precise on what you writing, each detail is very important. With time you will figure out what you missed here
