HI all, just wondering if somebody could help me out. I'm new to Java and coming from PHP so go easy on me

I'm creating a plugin but I want to utilize the httpclient from Apache Commons PMS already has (org/apache/commons/httpclient) instead of putting it my package separately, can I do this? I thought it was just a case of;

but it just doesn't work.If I extract the PMS.jar and then set my classpath to where I extracted, it works fine but is that the proper way to do it? If I move my compiled jar to another machine (without the extracted files) it won't work, right?

If they're bundled with PMS, then yes, you can use them. You'll need pms.jar to be in your project's classpath when you compile your plugin. How you define it depends on your build tool. With Apache Buildr, for instance, I copy/link it to $PROJECT/lib/ and use something like the following: