In addition to the import statement in the file, you need to add the library (the jar file) to the project build path. (right click on the project --> properties --> java build path --> libraries --> add JARs (or add External JARs)
You will get different recommendations, but it is probably best to spend sometime with each IDE and see which one feels natural to you. The other IDEs with most traction are IntelliJ IDEA and Netbeans. JBuilder is way behind these now. I am a happy user of IDEA
Originally posted by Sonny Gill: JBuilder is way behind these now.
The current version of JBuilder is, in fact, build on top of Eclipse.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I have used JCreator and Netbeans. Since no one mentioned JCreator thought I would mention it. I have never heard of IDEA. Is it free or something you have to buy? JCreator is free so thats why I use it and Netbeans too. The people at my work use Eclipse so I should be trying to learn it. I tried using it once and did not get very far. I figure once I get used to Java I will then tackle a hard IDE like Ecplise.
You may also want to think about giving MyEclipse a try. Some of the "complexities" of Eclipse are alleviated, as well as adding a mountain of additional options to add productivity without hassle. Well-documented and supported as well, so you have a neck to wring. :-)