user2987909
user2987909

Reputation: 51

Can not successfully add org.joda.time (2.4) library to Netbeans

I have tried to add the library to Netbeans in the following ways:

Project > Properties > Libraries > Add Jar/Folder

Project > Properties > Packaging > Add Jar/Folder

Tools > Libraries > Add Library > Add Jar/Folder

Tools > Options > Java > Classpath > Add Jar/Zip

..and probably all their combinations and nothing seems to work. Any ideas what to try? When I type import org.joda.time; it doesn't find the library (error: package org.joda does not exist).

Upvotes: 2

Views: 1329

Answers (1)

Luciana Campello
Luciana Campello

Reputation: 101

Tested on Netbeans 7.0.1. In the Projects window right-click on the name of the project -> Properties -> The Project Properties window opens. In Categories tree select "Libraries" node -> On the right side of the Project Properties window press button "Add JAR/Folder" -> Select jars you need.

Upvotes: 2

Related Questions