Greetings Tom. What build system are you using:
a) ANT add your JAR to the LIB folder b) Maven <!-- https://mvnrepository.com/artifact/com.github.cliftonlabs/json-simple --> <dependency> <groupId>com.github.cliftonlabs</groupId> <artifactId>json-simple</artifactId> <version>4.0.1</version> </dependency> c) Gradle add to the dependency section // https://mvnrepository.com/artifact/com.github.cliftonlabs/json-simple implementation 'com.github.cliftonlabs:json-simple:4.0.1' Good luck Andreas On Mon, 2024-02-12 at 15:23 +0100, Tom wrote: > Newbie question, how can I use external jars like json simple in a > Netbeans project? > I have added json-simple-1.1.1.jar to Tools / Library. > But import org.json.simple.JSONArray; gives a package not found > error. > I have already googled. > How can I fix that? > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists >