0

It's been awhile since I programmed in java.

I'm trying to add json-simple on intellij but I can't figure out what is wrong ( almost moving back to eclipse)

The json-simple jar file is at the same directory of the project.

Here are some img's

enter image description here

enter image description here

enter image description here

thanks in advance..

1 Answers1

4

That's not how you import it. First go to

File < Project Structure < Modules

Now, click on the Dependencies tab. It should look like this(Don't mind my libraries),

enter image description here

Click on the + icon, locate the Jar, and then click on Ok.

enter image description here

dumbPotato21
  • 5,669
  • 5
  • 21
  • 34
  • Thanks for you reply Chandler, but I've already did it. And it didn't work. Probably is something I'm doind wrong. Would you mind to try to add a json jar file on an example project just to check !? –  May 20 '17 at 15:37
  • works for me @EduardoHumberto see edit. Are you sure, you're doing it correctly ? – dumbPotato21 May 20 '17 at 15:45
  • It should be something stupid that I'm doing.I'll do it again. Thanks for your help!! –  May 20 '17 at 15:56
  • Chandler, you won't believe but the problem was the json jar file that I was using, thank you!! –  May 20 '17 at 17:39
  • @EduardoHumberto no worries :) – dumbPotato21 May 20 '17 at 17:40