I'm working on an MHP project using NetBeans. I need to import the JSON.simple library, but I'm having some issues.
In normal Java applications in NetBeans, you'd have the "Libraries" folder in your project in NetBeans. I don't have this folder, supposedly because it's an MHP project.
I've added the .jar file in my Tools>Libraries and in my Project>Properties>Java Sources Classpath. When I did the latter, NetBeans started to autocomplete for import org.json.simple.* and didn't give me any errors. But when I run my project, I still get the "package org.json.simple does not exist." error for the import line.
I'm guessing I still haven't added the library to my project properly, but I'm not sure what I'm doing wrong. I'm 100% sure there's a way to make this work, because I've seen my professor work with the library in an MHP project (I couldn't get his help because we haven't had a class in 2 weeks and he doesn't check his mail very often).